Hello guys,

I would like to remind you that as of 2.1.126 the idle time in /proc/uptime
is still identically 0.00. The solution that I had in mind was to remove
if(p->pid) from smp_local_timer_interrupt() but I was not 100% sure because
I do not understand why that check is there (other than to produce
misleading /proc/uptime) in the first place.

Btw, another interesting anomaly - I have removed setting the AM
(alignment) bit in CR0 in "is486:" label of arch/i386/kernel/head.S (replace
orl $0x50022,%eax -> orl $0x10022,%eax) and the system started to run a
little bit faster (a matter of percent in various benchmarks from
unixbench). This was consistent after re-running the benchmark twice. 
If we don't really need alignment check (in cpl=3) then perhaps
we could stop setting AM bit in CR0 if this really (for unknown to me
reason) makes it go a tiny bit faster?

regards,
------ -------- --------- -------- --  - -- ---- --
Tigran A. Aivazian           | http://www.sco.com
Escalations Research Group   | tel: +44-(0)1923-813796
Santa Cruz Operation Ltd     | Email: [EMAIL PROTECTED]

Reply via email to