]> www.infradead.org Git - users/jedix/linux-maple.git/commit
um: set DONTDUMP and DONTFORK flags on KASAN shadow memory
authorBenjamin Berg <benjamin.berg@intel.com>
Sun, 3 Nov 2024 15:05:02 +0000 (16:05 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 7 Nov 2024 16:36:30 +0000 (17:36 +0100)
commitfce0128863b22dd6d9a4e5383645ac70656970a7
treea1a2328499a7faf43b904047d6bc4d0a3f461108
parent81e0679d851ad7ddee8904df59f84eabfc2c1b1e
um: set DONTDUMP and DONTFORK flags on KASAN shadow memory

There is no point in either dumping the KASAN shadow memory or doing
copy-on-write after a fork on these memory regions.

This considerably speeds up coredump generation.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20241103150506.1367695-1-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/os-Linux/mem.c