Re: [lkcd-devel] Re: What's left over.

From: Eric W. Biederman (ebiederm@xmission.com)
Date: Mon Nov 11 2002 - 11:27:05 EST


Pavel Machek <pavel@ucw.cz> writes:

> I have very similar problem in swsusp (need to deactivate DMA
> devices), and driverfs^H^H^H^H^Hsysfs framework seems to be suitable
> for that.

Yes. The problem and the solutions are very similar. Because you are
restoring the kernel code I don't think we can use the same functions,
but similar work needs to be done. The correct hook for reboots,
halts, kexec, and other cases where the kernel is going away is
device_shutdown which currently calls device->shutdown(). Since the
implementation has changed recently to avoid other problems no one
actually implements the shutdown method at the moment. Once that
happens we can probably kill the reboot notifiers. But there is a lot
of driver work to do on that score.

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



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:22 EST