fork.c (0b6c404a07e3240b95aa5682fb8fd57c41609d7a) fork.c (5640f7685831e088fe6c2e1f863a6805962f8e81)
1/*
2 * linux/kernel/fork.c
3 *
4 * Copyright (C) 1991, 1992 Linus Torvalds
5 */
6
7/*
8 * 'fork.c' contains the help-routines for the 'fork' system call

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

325 * One for us, one for whoever does the "release_task()" (usually
326 * parent)
327 */
328 atomic_set(&tsk->usage, 2);
329#ifdef CONFIG_BLK_DEV_IO_TRACE
330 tsk->btrace_seq = 0;
331#endif
332 tsk->splice_pipe = NULL;
1/*
2 * linux/kernel/fork.c
3 *
4 * Copyright (C) 1991, 1992 Linus Torvalds
5 */
6
7/*
8 * 'fork.c' contains the help-routines for the 'fork' system call

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

325 * One for us, one for whoever does the "release_task()" (usually
326 * parent)
327 */
328 atomic_set(&tsk->usage, 2);
329#ifdef CONFIG_BLK_DEV_IO_TRACE
330 tsk->btrace_seq = 0;
331#endif
332 tsk->splice_pipe = NULL;
333 tsk->task_frag.page = NULL;
333
334 account_kernel_stack(ti, 1);
335
336 return tsk;
337
338free_ti:
339 free_thread_info(ti);
340free_tsk:

--- 1540 unchanged lines hidden ---
334
335 account_kernel_stack(ti, 1);
336
337 return tsk;
338
339free_ti:
340 free_thread_info(ti);
341free_tsk:

--- 1540 unchanged lines hidden ---