aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorSong Liu <[email protected]>2019-09-23 15:37:47 -0700
committerLinus Torvalds <[email protected]>2019-09-24 15:54:11 -0700
commit31895438e702f48e25b7aa6d88f9c97c795c79c7 (patch)
tree6d3bf756856dcab897ef9f8cf6d284079711435a /scripts/gdb/linux/lists.py
parent585e5a7babd91fd85a5cc97b7324c6c2fc29e1ec (diff)
filemap: check compound_head(page)->mapping in pagecache_get_page()
Similar to previous patch, pagecache_get_page() avoids race condition with truncate by checking page->mapping == mapping. This does not work for compound pages. This patch let it check compound_head(page)->mapping instead. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Song Liu <[email protected]> Suggested-by: Johannes Weiner <[email protected]> Acked-by: Johannes Weiner <[email protected]> Cc: Hillf Danton <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Kirill A. Shutemov <[email protected]> Cc: Rik van Riel <[email protected]> Cc: William Kucharski <[email protected]> Cc: Oleg Nesterov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions