lkml.org 
[lkml]   [2000]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: lowish-latency patch for 2.4.0-test9
Andrew Morton wrote:
> b): disabling local interrupts prior to the final need_resched
> check to make this test atomic wrt interrupts. RESTORE_ALL
> will do the right thing and an intervening smp_send_reschedule()
> will be blocked until the return to user space.

No need to disable interrupts. We tried it and it works, but there's a
faster way that doesn't disable interrupts. Look at Ingo Molnar's
current for 2.2 and 2.4 at

http://people.redhat.com/mingo/lowlatency-patches/

There in i386/kernel/entry.S, look for resched_fixup et al.

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

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.052 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site