Date: Thu, 10 Jan 2002 18:49:25 +0100 (CET) From: "Anders Nor Berle" <debolaz@debolaz.com> To: <jhb@FreeBSD.org> Cc: <sheldonh@FreeBSD.org>, <freebsd-bugs@FreeBSD.org> Subject: Re: kern/33124: kthread_create doesnt mark kthreads as kthreads. Message-ID: <54540.62.179.128.205.1010684965.squirrel@webmail.debolaz.com> In-Reply-To: <XFMail.020109121936.jhb@FreeBSD.org> References: <XFMail.020109121936.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > This is actually kind of bogus. Nobody uses this flag except aio, and aio just sets > the flag, no code actually checks it. P_KTHREAD is a new flag in -current used in a > few places. Unless the submitter has code that actually checks P_KTHREADP and needs > it set for some reason, I would rather see the flag killed. One thing that might be > nice to MFC is changing aio to use kthread_create rather than using its own > home-rolled version. > Well, I do have some code, related to jail, which checks for P_KTHREADP, but if P_KTHREAD becomes available instead, that'll do of course. I was just following what was already there. :) - Anders Nor Berle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54540.62.179.128.205.1010684965.squirrel>