Thread (34 messages) 34 messages, 3 authors, 2013-05-06

Re: [PATCH -V7 02/10] powerpc/THP: Implement transparent hugepages for ppc64

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2013-05-03 13:00:27
Also in: linux-mm

On Fri, 2013-05-03 at 21:54 +1000, David Gibson wrote:
quoted
_PAGE_BUSY is more like a read lock. It means it's being hashed, so what
is not stable is _PAGE_HASHPTE, slot index, _ACCESSED and _DIRTY. The
rest is stable and usually is what pmd_same looks at (though I have a
small doubt vs. _ACCESSED and _DIRTY but at least x86 doesn't care since
they are updated by HW).
Ok.  It still seems very odd to me that _PAGE_BUSY would be in the THP
version of _PAGE_HASHPTE, but not the normal one.
Oh I agree, we should be consistent and it shouldn't be there, I was just
correcting some other aspect of your statement :-)

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help