Re: 2.5.69-mm5: reverting i8259-shutdown.patch

Patrick Mochel (mochel@osdl.org)
Thu, 15 May 2003 10:34:42 -0700 (PDT)


> Pat what do you say to some late shutdown callbacks? I'll drop you a
> patch sometime tommorrow.

Bah. It would work, but it's a hack. We'll get caught in a game similar to
the leap-frogging initcalls. In fact, we could just get really twisted and
define various levels of exitcalls. [ Or, do them implicitly with some
linkser-section-fu by calling the modules' exit functions in the reverse
order in which they were initialized, but that's another story. ]

I just think that system level devices need to be treated specially in
every case. They just don't work as normal devices because of the ordering
issue. We can keep a separate list of them and deal with them explicitly
after regular devices. It's not that bad of a change, but will take a few
days, unless someone wants to take a stab at it..

-pat

-
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/