Andrew Morton writes:
 > > Again, BKL has nothing to do with this (and ioctl does not hold it)
 > 
 > asmlinkage long sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
 > {       
 >         struct file * filp;
 >         unsigned int flag;
 >         int on, error = -EBADF;
 > 
 >         filp = fget(fd);
 >         if (!filp)
 >                 goto out;
 >         error = 0;
 >         lock_kernel();
 > 
 > The CPU running ifconfig spins here.

Alexey's brain is going through net/socket.c:sock_ioctl() :-)

There we drop the kernel lock...

Later,
David S. Miller
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to