Re: [PATCH 14/21] i386 Apm is on cpu zero only

From: Zachary Amsden
Date: Tue Nov 08 2005 - 07:54:47 EST


Ingo Molnar wrote:

* Zachary Amsden <zach@xxxxxxxxxx> wrote:



APM BIOS code has a protective wrapper that runs it only on CPU zero. Thus, no need to set APM BIOS segments in the GDT for other CPUs.



hm, do we want (need) to have that CPU#0 assumption forever?



Can't hurt, and APM is largely obsolete because of ACPI, so I'm only concerned with trimming and keeping adequate protection of the kernel from APM code while maintaining correctness. I don't have a nice set of old machines with enough wacky APM BIOSen to validate that unpinning the CPU is ok.

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