Messages in this thread | | | Date | Tue, 7 Feb 2012 10:48:09 +0400 | From | Anton Vorontsov <> | Subject | [PATCH 0/8] Fixes for common mistakes w/ for_each_process and task->mm |
| |
Hi all,
While working on lowmemorykiller driver, I stumbled upon several places where we traverse the tasklist in an unsafe manner, plus there are a few cases of unsafe access to task->mm.
Note that some patches were not tested (e.g. sh, blackfin), so please take a closer look if there's silly mistakes. Also special attention needed for patch 7/8 (UML specific).
Oleg,
For sysrq case I kept the force_sig() usage, this is because in sysrq case I belive we do want to kill PID namespace init processes. If using force_sig() is still a bad idea, I guess we should fix it somehow else.
Thanks.
-- Anton Vorontsov Email: cbouatmailru@gmail.com
| |