diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-03-27 18:45:14 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-05 19:43:00 -0700 |
commit | 0050d7f5ee532f92e8ab1efcec6547bfac527973 (patch) | |
tree | 85000911fdb454e147b54e7a4969a9eff2407506 /mm/memory.c | |
parent | 945ea457b5a57cd34cbacce6f1f9e4a2e88432c2 (diff) | |
download | lwn-0050d7f5ee532f92e8ab1efcec6547bfac527973.tar.gz lwn-0050d7f5ee532f92e8ab1efcec6547bfac527973.zip |
afs: split afs_pagecache_valid() out of afs_validate()
For the map_pages() method, we need a test that does not sleep. The page
fault handler will continue to call the fault() method where we can sleep
and do the full revalidation there.
Link: https://lkml.kernel.org/r/20230327174515.1811532-3-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: David Howells <dhowells@redhat.com>
Tested-by: David Howells <dhowells@redhat.com>
Cc: Darrick J. Wong <djwong@kernel.org>
Cc: Dave Chinner <david@fromorbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions