diff options
author | 2009-12-11 22:58:17 +0000 | |
---|---|---|
committer | 2009-12-14 11:24:35 +0900 | |
commit | fcb4ebd678858850e8b029909064175cb627868d (patch) | |
tree | 6851519967cb24f8bdf12a9c8dbc711f99b1bdc8 /fs/stack.c | |
parent | sh: Wire up recvmmsg syscall. (diff) | |
download | wireguard-linux-fcb4ebd678858850e8b029909064175cb627868d.tar.xz wireguard-linux-fcb4ebd678858850e8b029909064175cb627868d.zip |
sh: Couple kernel and user write page perm bits for CONFIG_X2TLB
pte_write() should check whether the permissions include either the user
or kernel write permission bits. Likewise, pte_wrprotect() needs to
remove both the kernel and user write bits.
Without this patch handle_tlbmiss() doesn't handle faulting in pages
from the P3 area (our vmalloc space) because of a write. Mappings of the
P3 space have the _PAGE_EXT_KERN_WRITE bit but not _PAGE_EXT_USER_WRITE.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions