Re: [PATCH] x86: introduce bootmem_state

Andrew Morton
2009-03-07T00:02:26Z

On Fri, 06 Mar 2009 15:34:01 -0800
"H. Peter Anvin" <hpa@zytor.com> wrote:

> Jeremy Fitzhardinge wrote:
> >
> > Please, no. system_state should be deprecated; its hard enough to have
> > a notion of some kind of system-wide state, but putting subsystem
> > specific substates into it just makes things worse.
> >
>
> Does it? It seems to me to have a bunch of state variables which can
> interact in $DEITY knows how many ways sounds like a bad idea.
>

No, that's the whole point. If each subsystem adds its own
subsystem-private state then the subsystems *won't* interact.