aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-03-27 18:45:15 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-04-05 19:43:00 -0700
commit58ef47ef7db9dfc2730dc039498cc76130ea3c3d (patch)
treed54aff16b7b756de9cac97a3eadcda5579fe9d4a /kernel/fork.c
parentafs: split afs_pagecache_valid() out of afs_validate() (diff)
downloadlinux-rng-58ef47ef7db9dfc2730dc039498cc76130ea3c3d.tar.xz
linux-rng-58ef47ef7db9dfc2730dc039498cc76130ea3c3d.zip
mm: hold the RCU read lock over calls to ->map_pages
Prevent filesystems from doing things which sleep in their map_pages method. This is in preparation for a pagefault path protected only by RCU. Link: https://lkml.kernel.org/r/20230327174515.1811532-4-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Darrick J. Wong <djwong@kernel.org> Cc: Dave Chinner <david@fromorbit.com> Cc: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions