On 01/30, Anton Vorontsov wrote:
@@ -132,8 +134,8 @@ static int lowmem_shrink(struct shrinker *s, struct shrink_control *sc) } selected_oom_adj = min_adj;
- read_lock(&tasklist_lock);
- for_each_process(p) {
- for_each_tgid(ns, iter) {
This makes force_sig() below unsafe, it can race with the exiting task.
Oleg.