fork.c (5f8b7d4b2e9604d03ae06f1a2dd5a1f34c33e533) fork.c (203003c4ff18f95ae697fe5c24c9674463f48067)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * linux/kernel/fork.c
4 *
5 * Copyright (C) 1991, 1992 Linus Torvalds
6 */
7
8/*

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

94#include <linux/stackleak.h>
95#include <linux/kasan.h>
96#include <linux/scs.h>
97#include <linux/io_uring.h>
98#include <linux/bpf.h>
99#include <linux/stackprotector.h>
100#include <linux/user_events.h>
101#include <linux/iommu.h>
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * linux/kernel/fork.c
4 *
5 * Copyright (C) 1991, 1992 Linus Torvalds
6 */
7
8/*

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

94#include <linux/stackleak.h>
95#include <linux/kasan.h>
96#include <linux/scs.h>
97#include <linux/io_uring.h>
98#include <linux/bpf.h>
99#include <linux/stackprotector.h>
100#include <linux/user_events.h>
101#include <linux/iommu.h>
102#include <linux/tick.h>
102
103#include <asm/pgalloc.h>
104#include <linux/uaccess.h>
105#include <asm/mmu_context.h>
106#include <asm/cacheflush.h>
107#include <asm/tlbflush.h>
108
109#include <trace/events/sched.h>

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

2413#ifdef CONFIG_PSI
2414 p->psi_flags = 0;
2415#endif
2416
2417 task_io_accounting_init(&p->ioac);
2418 acct_clear_integrals(p);
2419
2420 posix_cputimers_init(&p->posix_cputimers);
103
104#include <asm/pgalloc.h>
105#include <linux/uaccess.h>
106#include <asm/mmu_context.h>
107#include <asm/cacheflush.h>
108#include <asm/tlbflush.h>
109
110#include <trace/events/sched.h>

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

2414#ifdef CONFIG_PSI
2415 p->psi_flags = 0;
2416#endif
2417
2418 task_io_accounting_init(&p->ioac);
2419 acct_clear_integrals(p);
2420
2421 posix_cputimers_init(&p->posix_cputimers);
2422 tick_dep_init_task(p);
2421
2422 p->io_context = NULL;
2423 audit_set_context(p, NULL);
2424 cgroup_fork(p);
2425 if (args->kthread) {
2426 if (!set_kthread_struct(p))
2427 goto bad_fork_cleanup_delayacct;
2428 }

--- 1123 unchanged lines hidden ---
2423
2424 p->io_context = NULL;
2425 audit_set_context(p, NULL);
2426 cgroup_fork(p);
2427 if (args->kthread) {
2428 if (!set_kthread_struct(p))
2429 goto bad_fork_cleanup_delayacct;
2430 }

--- 1123 unchanged lines hidden ---