aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2023-08-21 18:08:49 +0200
committerAndrew Morton <[email protected]>2023-08-24 16:20:28 -0700
commit07e09c483cbef2a252f75d95670755a0607288f5 (patch)
tree15f38d9a549e22aef6bd9a270ace05a7aa5c7f6d /lib/test_fortify/write_overflow-strncpy-src.c
parent3d2c908768877714a354ee6d7bf93e801400d5e2 (diff)
mm/huge_memory: work on folio->swap instead of page->private when splitting folio
Let's work on folio->swap instead. While at it, use folio_test_anon() and folio_test_swapcache() -- the original folio remains valid even after splitting (but is then an order-0 folio). We can probably convert a lot more to folios in that code, let's focus on folio->swap handling only for now. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: David Hildenbrand <[email protected]> Reviewed-by: Chris Li <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Dan Streetman <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Cc: Peter Xu <[email protected]> Cc: Seth Jennings <[email protected]> Cc: Vitaly Wool <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions