Re: [PATCH 5.4 34/65] kthread: save thread function

2020-07-07 Thread J. Bruce Fields
NACK.--b. On Tue, Jul 07, 2020 at 05:17:13PM +0200, Greg Kroah-Hartman wrote: > From: J. Bruce Fields > > [ Upstream commit 52782c92ac85c4e393eb4a903a62e6c24afa633f ] > > It's handy to keep the kthread_fn just as a unique cookie to identify > classes of kthreads. E.g. if you can verify that a

[PATCH 5.4 34/65] kthread: save thread function

2020-07-07 Thread Greg Kroah-Hartman
From: J. Bruce Fields [ Upstream commit 52782c92ac85c4e393eb4a903a62e6c24afa633f ] It's handy to keep the kthread_fn just as a unique cookie to identify classes of kthreads. E.g. if you can verify that a given task is running your thread_fn, then you may know what sort of type kthread_data poin