tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: scheduler support to lock user processes out?

On Mon, Feb 18, 2008 at 11:05:02PM +0100, Matthias Drochner wrote:
> I believe I was understanding you... Imo device suspend can safely be
> done while userland is running, as long as userland (or "ifconfig up",
> for that matter) has not opened the device, with manageable efforts.
> Everything beyond would need considerable work on all drivers, and
> would cost cycles at runtime.

Actually no, it doesn't. It is not more work than the general MPsafeness
of the driver. Holding the kernel lock helps for those that are not
MPsafe, but that's it.


Home | Main Index | Thread Index | Old Index