Re: proc_flush_task oops
From: Dave Jones
Date: Thu Dec 21 2017 - 17:00:52 EST
On Thu, Dec 21, 2017 at 12:38:12PM +0200, Alexey Dobriyan wrote:
> > with proc_mnt still set to NULL is a mystery to me.
> >
> > Is there any chance the idr code doesn't always return the lowest valid
> > free number? So init gets assigned something other than 1?
>
> Well, this theory is easy to test (attached).
I didn't hit this BUG, but I hit the same oops in proc_flush_task.
Dave