Re: owner field in `struct fs'

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Jun 25 2000 - 08:27:17 EST


> > > 'mii-diag' tool may be used to manipulate the device's MII when the
> > > interface is downed (via netdevice.do_ioctl())
> >
> > And what happens if it blocks?
>
> Bad things, potentially. It would be most extraordinary if these little
> methods _were_ to block, but there's nothing which says they
> can't/don't.

There are cards where things like querying the stats take time. The parport
driver copies stuff from user space in its do_ioctl function as another
example.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:06 EST