summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2005-02-22 04:21:46 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-02-22 04:21:46 -0800
commit8950721591e9dcfe3b88bc98ff4b2c39a9fa5a62 (patch)
tree2fa68e52dd9bb03b7f603295be5a9ae2497bcea4 /net/unix/af_unix.c
parent539bc6a481e050ad0dd202adefaa0da2a0c6f542 (diff)
[PATCH] ppc32: kernel mapping breakage
Christoph Lameter's patch that change page allocators to use GFP_ZERO broke ppc32 in a subtle way. Our allocator is designed to work before mem_init_done, in which cases it uses a ppc specific early_get_page() which doesn't return zeroed pages. However, he removed the call to clear_page() unconditionally, thus causing the kernel initial page tables to have random data in them. They are initialized with set_pte, which means it's _mostly_ harmless, except that set_pte on ppc32 preserves the _PAGE_HASHPTE bit, thus we end up with random bits there, which can cause issues with further manipulation of the kernel page tables and will slow down all hash faults to them causing unnecessary searches. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions