self-modifying code at runtime for i386 (SMP/spinlocks)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i recall the i386/x86_64 port being updated with some code that
modifies itself at runtime ... basically you configure the kernel for
SMP support but at boot if the kernel detects just one processor, the
spinlock code and friends will modify themselves to be nops so there
is no runtime overhead compared with building the kernel for a
uniprocessor ...

anyone know where these implementation details are ?
-mike

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux