mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2026-09-08 23:57:59 +08:00
fix(mm/oom): align OOM killer victim lifecycle semantics Rework OOM victim tracking to match Linux-like lifetime semantics more closely: record victim metadata on the shared signal state, commit inflight victim state before SIGKILL delivery, and only clear inflight after the victim mm has really finished teardown. Also: - gate OOM victim reserve access on fatal/exiting state - avoid clearing inflight based only on "no task references this mm" - remove partial-reclaim wakeups from mmu_gather OOM progress handling - align oom_score/oom_score_adj procfs behavior and oom_kill vmstat accounting - add OOM fault-inject coverage in c_unitest and dunitest - keep related Nix/dev docs and generated version formatting tidy --------- Signed-off-by: sparkzky <sparkhhhhhhhhhh@outlook.com> Signed-off-by: longjin <longjin@dragonos.org> Co-authored-by: longjin <longjin@dragonos.org>