2002-11-15 10:20:26

by Richard J Moore

[permalink] [raw]
Subject: Re: [lkcd-general] Re: [lkcd-devel] Re: What's left over.



> It would take a special hook that ran after the notifiers, and
> device_shutdown. At least in the normal case running what shutdown
> code we can is fairly important. And hooking the notifier lists
> would not give a guarantee of going last.

Kernel Hooks would help here - that has a priority mechanism.

Richard


2002-11-15 14:25:55

by Alan

[permalink] [raw]
Subject: Re: [lkcd-general] Re: [lkcd-devel] Re: What's left over.

On Fri, 2002-11-15 at 09:38, Richard J Moore wrote:
>
>
> > It would take a special hook that ran after the notifiers, and
> > device_shutdown. At least in the normal case running what shutdown
> > code we can is fairly important. And hooking the notifier lists
> > would not give a guarantee of going last.
>
> Kernel Hooks would help here - that has a priority mechanism.

I'd rather have a set of clearly defined notifiers so that I don't have
to know about priority, just when I want to act