diff options
author | 2011-05-16 15:26:08 -0500 | |
---|---|---|
committer | 2011-05-17 22:18:55 +0300 | |
commit | 1393d9a1857471f816d0be1ccc1d6433a86050f6 (patch) | |
tree | 2bcad46d15f1dc7ea6e458f2ab4d7f17b766dd66 /fs/jbd2/commit.c | |
parent | slub: Avoid warning for !CONFIG_SLUB_DEBUG (diff) | |
download | linux-rng-1393d9a1857471f816d0be1ccc1d6433a86050f6.tar.xz linux-rng-1393d9a1857471f816d0be1ccc1d6433a86050f6.zip |
slub: Make CONFIG_DEBUG_PAGE_ALLOC work with new fastpath
Fastpath can do a speculative access to a page that CONFIG_DEBUG_PAGE_ALLOC may have
marked as invalid to retrieve the pointer to the next free object.
Use probe_kernel_read in that case in order not to cause a page fault.
Cc: <stable@kernel.org> # 38.x
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions