On Wed, Jun 21, 2000 at 02:44:03AM +0200, Andrew Morton wrote:
> Andi Kleen wrote:
> > On Tue, Jun 20, 2000 at 02:04:35PM +0200, Andrew Morton wrote:
> > >
> > > - sys_ioctl() and sys_delete_module() both already claim
> > > the big lock, so where's the race anyway? I feel I'm missing
> > > something..
> > Ugh, I missed that. Ok, with that there is no race. Even better :-)
> I think I lied. Look at this:
Ok. Just let's hope that no non-ioctl function grabs first a different
lock (like the rtnl_lock) and then does a lock_kernel(). That would
give a nice deadlock race.
This is like TV. I don't like TV.