aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2024-05-22 14:57:13 +0200
committerAndrew Morton <akpm@linux-foundation.org>2024-07-03 19:29:56 -0700
commit6ad28e7e52e2bae76b1d3eb4466999d04d50db92 (patch)
tree7b0c5f9a48051272b7f3486092bef1dae0646353 /mm/memory-failure.c
parentmm/memory: cleanly support zeropage in vm_insert_page*(), vm_map_pages*() and vmf_insert_mixed() (diff)
downloadwireguard-linux-6ad28e7e52e2bae76b1d3eb4466999d04d50db92.tar.xz
wireguard-linux-6ad28e7e52e2bae76b1d3eb4466999d04d50db92.zip
mm/rmap: sanity check that zeropages are not passed to RMAP
Using insert_page() we might have previously ended up passing the zeropage into rmap code. Make sure that won't happen again. Note that we won't check the huge zeropage for now, which might still end up in RMAP code. Link: https://lkml.kernel.org/r/20240522125713.775114-4-david@redhat.com Signed-off-by: David Hildenbrand <david@redhat.com> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Vincent Donnefort <vdonnefort@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions