exit.c (b3bbcc5d1da1b654091dad15980b3d58fdae0fc6) exit.c (bd74fdaea146029e4fa12c6de89adbe0779348a9)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * linux/kernel/exit.c
4 *
5 * Copyright (C) 1991, 1992 Linus Torvalds
6 */
7
8#include <linux/mm.h>

--- 452 unchanged lines hidden (view full) ---

461 */
462 read_unlock(&tasklist_lock);
463 if (c->mm != mm) {
464 task_unlock(c);
465 put_task_struct(c);
466 goto retry;
467 }
468 WRITE_ONCE(mm->owner, c);
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * linux/kernel/exit.c
4 *
5 * Copyright (C) 1991, 1992 Linus Torvalds
6 */
7
8#include <linux/mm.h>

--- 452 unchanged lines hidden (view full) ---

461 */
462 read_unlock(&tasklist_lock);
463 if (c->mm != mm) {
464 task_unlock(c);
465 put_task_struct(c);
466 goto retry;
467 }
468 WRITE_ONCE(mm->owner, c);
469 lru_gen_migrate_mm(mm);
469 task_unlock(c);
470 put_task_struct(c);
471}
472#endif /* CONFIG_MEMCG */
473
474/*
475 * Turn us into a lazy TLB process if we
476 * aren't already..

--- 1345 unchanged lines hidden ---
470 task_unlock(c);
471 put_task_struct(c);
472}
473#endif /* CONFIG_MEMCG */
474
475/*
476 * Turn us into a lazy TLB process if we
477 * aren't already..

--- 1345 unchanged lines hidden ---