Home
last modified time | relevance | path

Searched hist:"36 cb0e1cda645ee645b85a6ce652cb46a16e14e5" (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/include/linux/sched/
H A Dtask.hdiff 36cb0e1cda645ee645b85a6ce652cb46a16e14e5 Mon Apr 11 16:17:28 CDT 2022 Eric W. Biederman <ebiederm@xmission.com> fork: Explicity test for idle tasks in copy_thread

The architectures ia64 and parisc have special handling for the idle
thread in copy_process. Add a flag named idle to kernel_clone_args
and use it to explicity test if an idle process is being created.

Fullfill the expectations of the rest of the copy_thread
implemetations and pass a function pointer in .stack from fork_idle().
This makes what is happening in copy_thread better defined, and is
useful to make idle threads less special.

Link: https://lkml.kernel.org/r/20220506141512.516114-3-ebiederm@xmission.com
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
/openbmc/linux/arch/parisc/kernel/
H A Dprocess.cdiff 36cb0e1cda645ee645b85a6ce652cb46a16e14e5 Mon Apr 11 16:17:28 CDT 2022 Eric W. Biederman <ebiederm@xmission.com> fork: Explicity test for idle tasks in copy_thread

The architectures ia64 and parisc have special handling for the idle
thread in copy_process. Add a flag named idle to kernel_clone_args
and use it to explicity test if an idle process is being created.

Fullfill the expectations of the rest of the copy_thread
implemetations and pass a function pointer in .stack from fork_idle().
This makes what is happening in copy_thread better defined, and is
useful to make idle threads less special.

Link: https://lkml.kernel.org/r/20220506141512.516114-3-ebiederm@xmission.com
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
/openbmc/linux/arch/ia64/kernel/
H A Dprocess.cdiff 36cb0e1cda645ee645b85a6ce652cb46a16e14e5 Mon Apr 11 16:17:28 CDT 2022 Eric W. Biederman <ebiederm@xmission.com> fork: Explicity test for idle tasks in copy_thread

The architectures ia64 and parisc have special handling for the idle
thread in copy_process. Add a flag named idle to kernel_clone_args
and use it to explicity test if an idle process is being created.

Fullfill the expectations of the rest of the copy_thread
implemetations and pass a function pointer in .stack from fork_idle().
This makes what is happening in copy_thread better defined, and is
useful to make idle threads less special.

Link: https://lkml.kernel.org/r/20220506141512.516114-3-ebiederm@xmission.com
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
/openbmc/linux/kernel/
H A Dfork.cdiff 36cb0e1cda645ee645b85a6ce652cb46a16e14e5 Mon Apr 11 16:17:28 CDT 2022 Eric W. Biederman <ebiederm@xmission.com> fork: Explicity test for idle tasks in copy_thread

The architectures ia64 and parisc have special handling for the idle
thread in copy_process. Add a flag named idle to kernel_clone_args
and use it to explicity test if an idle process is being created.

Fullfill the expectations of the rest of the copy_thread
implemetations and pass a function pointer in .stack from fork_idle().
This makes what is happening in copy_thread better defined, and is
useful to make idle threads less special.

Link: https://lkml.kernel.org/r/20220506141512.516114-3-ebiederm@xmission.com
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>