[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] x86_64 linux: don't use USER_PTRS_PER_PGD in mm_walk()

Since USER_PTRS_PER_PGD depends on TASK_SIZE and thus on the current thread, it 
must not be used in code that can be
called in the context switch path (otherwise the 32-bitness of the outgoing 
task is used here rather then the 32-bitness
of the incoming one, possibly resulting in large parts of the page tables not 
getting converted to read-only).


Attachment: xenlinux-x86_64-mm_walk.patch
Description: Text document

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.