lkml.org 
[lkml]   [1999]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] killed tqueue_lock spinlock, Re: [patch] race-fix for bottom-half-functions [Re: Subtle trouble in remove_bh().]
On Sun, 31 Jan 1999, Andrea Arcangeli wrote:

> I see your point, but now that I fixed it, it's still at least a nice
> performance optimization (and the new code is really nicer and very more
> fun ;). And you killed a __cli() in every run_task_queue() at least...

I did not have much time to think about it, but it could at least use
some clean up, otherwise it causes unnecessary overhead on uniprocessor
machines (they don't need the bit1 at all).

If it's really an optimization depends IMHO on how much bhs are on the
queue, as testing bit1 for each of them might actually make things
worse...

Patrik



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

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