Messages in this thread | | | From | Linus Torvalds <> | Date | Tue, 28 Jun 2016 14:35:15 -0700 | Subject | Re: kthread_stop insanity (Re: [[DEBUG] force] 2642458962: BUG: unable to handle kernel paging request at ffffc90000997f18) |
| |
On Tue, Jun 28, 2016 at 2:21 PM, Andy Lutomirski <luto@amacapital.net> wrote: > > Or are you > suggesting that we actually make a list somewhere of stacks that are > nominally unused but are still around for RCU's benefit and then > scavenge from that lest when we need a new stack?
Yes. We'd have to make our own list (rather than just use the RCU list itself where everything goes), but..
> If so, that seems considerably more complicated than just adding a reference count.
Fair enough.
Linus
| |