Messages in this thread | | | Subject | Re: [PATCH] proc, oom: do not report alien mms when setting oom score adj | From | Tetsuo Handa <> | Date | Fri, 15 Feb 2019 09:57:59 +0900 |
| |
Sigh, you are again misunderstanding...
I'm not opposing to forbid CLONE_VM without CLONE_SIGHAND threading model. I'm asserting that we had better revert the iteration for now, even if we will strive towards forbidding CLONE_VM without CLONE_SIGHAND threading model.
You say "And that is a correctness issue." but your patch is broken because your patch does not close the race. Since nobody seems to be using CLONE_VM without CLONE_SIGHAND threading, we can both avoid hungtask problem and close the race by eliminating this broken iteration. We don't need to worry about "This could easily lead to breaking the OOM_SCORE_ADJ_MIN protection." case because setting OOM_SCORE_ADJ_MIN needs administrator's privilege. And it is YOUR PATCH that still allows leading to breaking the OOM_SCORE_ADJ_MIN protection. My patch is more simpler and accurate than your patch.
| |