Messages in this thread | | | Date | Tue, 2 Jun 2015 21:31:38 +0100 | From | Al Viro <> | Subject | Re: kernel_thread() for non-GPL drivers |
| |
On Tue, Jun 02, 2015 at 12:43:15PM -0700, Ani Sinha wrote:
> So my question to you is, which api (for x86) are drivers supposed to > use if kernel_thread() is no longer available? It looks to me like > maybe we can use kthread_run() which eventually lazily creates a > kernel thread. Is my understanding correct?
First of all, what the hell does it have to do with GPL? Or modules vs. built-in, for that matter... kernel_thread() is _not_ what it used to be way back and export or no export, your driver isn't going to be happy with it.
kthread_run() had been there for more than 11 years, for crying out loud!
| |