Skip to contentSkip to conversation

i386: Optimize local APIC timer interrupt code

PATCH Chuck Ebbert 1 participant 1 message Jan 5, 2006

lore
Share & tools
lore
#0 lore raw

In-Reply-To: <[email protected]>

Quoted 9 lines · Andrew Morton

The code which you're patching is cheerfully nuked by a patch in Andi's tree:
ftp://ftp.firstfloor.org/pub/ak/x86_64/quilt-current/patches/no-subjiffy-profile

I don't immediately understand that patch and I don't recall seeing it discussed - maybe I was asleep.

It removes the profile multiplier (readprofile -M). I've used that occasionally, but can't say that I noticed much benefit from it.

It's probably required for the i386-timer-broadcast patch from the same
patchset. Apparently some Intel CPUs stop their local APIC timer when in certain ACPI C-states, so that patch switches them to use an IPI broadcast from the main timer interrupt instead. Supporting subjiffy profiling is impossible in that case, so the code was removed.

Signature · 1 line
Chuck