Re: 2.6.18 -mm merge plans

Eric W. Biederman
2006-06-10T07:52:17Z

"Serge E. Hallyn" <serue@us.ibm.com> writes:

> Egads, I apologize.
>
> Apparently I was in a daze, as I'd forgotten that converting
> all kernel_thread users to kthread was something else we wanted
> to work towards, and which Christoph had explicitly asked for
> help with.

Yep. And the linux-vserver guys discovered the hard way.

>> Ok a couple of comments.
>>
>> As I recall there are some pretty sane ways of going
>> from struct pid to a task_struct and then we can use things
>> like group_send_sig.
>
> Oh, you mean instead of doing kill_proc(struct pid->nr), which
> I guess was pretty braindead? :)

I think it defeats half our purpose.

> Ok, futile as this may have seemed overall, I think it's helped
> me figure out what to actually do.

Sure and that is what it was aimed to do.

You want to attack the kernel_thread -> kthread thing?

Eric