[PATCH] x86_64: Drop global bit from early low mappings
authorAndi Kleen <ak@suse.de>
Tue, 4 Oct 2005 22:21:39 +0000 (00:21 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 4 Oct 2005 22:56:52 +0000 (15:56 -0700)
commit944d2647dded12e2b05ad8ebc020644bb1997ce1
tree1b4ce29652e6f01e08880a47f467ccec052f1505
parentf6e63cfb5cfcccca510672155b90dd39bf45a35f
[PATCH] x86_64: Drop global bit from early low mappings

Drop global bit from early low mappings

Suggested by Linus, originally also proposed by Suresh.

This fixes a race condition with early start of udev, originally
tracked down by Suresh B. Siddha. The problem was that switching
to the user space VM would not clear the global low mappings
for the beginning of memory, which lead to memory corruption.

Drop the global bits.

The kernel mapping stays global because it should stay constant.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/head.S