diff options
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | 2012-09-10 14:43:26 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-09-17 07:44:24 (GMT) |
commit | 4db84d4f07b87c452c6000e0595dc9570ed21b41 (patch) | |
tree | c5e74358f74fd6fb8a2e4a9eec3c99d524c76018 /kernel/dma.c | |
parent | db2e1f43e7b2320d0450fe34e5ac4ac4d8c7708d (diff) | |
download | linux-4db84d4f07b87c452c6000e0595dc9570ed21b41.tar.xz |
s390/mm: fix user access page-table walk code
The s390 page-table walk code, used for user copy and futex, currently
cannot handle huge pages. As far as user copy is concerned, that is
not really a problem because those functions will only be used on old
hardware that has no huge page support. But the futex code will also
use pagetable walk functions on current hardware when user space runs
in primary space mode. So, if a futex sits in a huge page, the futex
operation on it will result in a page fault loop or even data
corruption.
This patch adds the code for resolving huge page mappings in the user
access pagetable walk code on s390.
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'kernel/dma.c')
0 files changed, 0 insertions, 0 deletions