search for: kthread_create_info

Displaying 1 result from an estimated 1 matches for "kthread_create_info".

2023 Mar 11
1
[PATCH 03/11] kthread: Pass in the thread's name during creation
...anged, 14 insertions(+), 21 deletions(-) >> >> diff --git a/kernel/kthread.c b/kernel/kthread.c >> index 63574cee925e..831a55b406d8 100644 >> --- a/kernel/kthread.c >> +++ b/kernel/kthread.c >> @@ -38,6 +38,7 @@ struct task_struct *kthreadd_task; >> struct kthread_create_info >> { >> /* Information passed to kthread() from kthreadd. */ >> + char *full_name; >> int (*threadfn)(void *data); >> void *data; >> int node; >> @@ -343,10 +344,15 @@ static int kthread(void *_create) >> /* Release the structure when calle...