Skip to content
Commit a31e9c4e authored by Johannes Berg's avatar Johannes Berg Committed by Richard Weinberger
Browse files

Revert "um: support some of ARCH_HAS_SET_MEMORY"



This reverts commit 963285b0 ("um: support some of
ARCH_HAS_SET_MEMORY"), as it turns out that it's not only not
working (due to um never using the protection bits in the
page tables) but also corrupts the page tables if used on a
non-vmalloc page, since um never allocates proper page tables
for the 'physmem' in the first place.

Fixing all this will take more effort, so for now revert it.

Reported-by: default avatarBenjamin Berg <benjamin@sipsolutions.net>
Fixes: 963285b0 ("um: support some of ARCH_HAS_SET_MEMORY")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 2fcb4090
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment