> > Microsoft was able to delete APM from Windows in 2006> > with the release of Windows Vista. [...]> > Does Windows XP still support it?

yes, and so does Red Hat Linux 9.

> Is weird as there's no such CONFIG_APM entry upstream, and never was. Which > tree is this entry included in?

It is a menuconfig option in arch/x86/Kconfig.APM is available only for X86_32 kernels.

> While i'm not a fan of APM at all, this removal is a tad fast IMHO.>> Beyond the lack of a upstream-visible feature-removal-schedule entry, we still > have an Arcnet driver which hardware was obsoleted by Ethernet in the late 80s, > and we still have i486 support and those are *much* older than APM.

How would you like to write i486 specific code for the latest kerneland test it on i486 hardware, honestly?

If you look at the hooks in the the diffstat you may be be lessimpressed about how modular APM is. Start with the use of pm_idlefrom a module, or pm_flags. The hackery is not a large number of lines,but it is still hackery.

> Thus from a maintenance POV APM has not been much of a drag on the x86 > maintainer side. Sure, we do not test it, but that's the case with most of the > obsolete drivers in the kernel.> > The principle is that as long as there's no ongoing drag, the cost of carrying > obsolete drivers is minimal - and the unknown cost of screwing someone in a big > way by removing hardware support is hard to measure reliably. So we are > cautious and err on the side of supporting too much hardware.

I think this reasoning would apply in 2006, but that was 5 years ago.

> Removal could be prepared by:> > - moving CONFIG_APM to under CONFIG_EXPERT though, and keep it there for a few > releases, and see whether anyone complains> > - we could emit a WARN() with a "APM support will be obsoleted, please report > this if you depend on this feature" text or so, and see what happens for a > couple of releases.