lkml.org 
[lkml]   [2000]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: new IRQ scalability changes in 2.3.48

On Mon, 13 Mar 2000, Linus Torvalds wrote:

> > hm, current->spinlock_depth should work pretty well i believe, no? That
> > one is SMP-safe as well. It doesnt have any global cacheline problems
> > either.
>
> Agreed, but what is the point of it? Now every spinlock has to look up
> current. The nice spinlock code that used to be 2 instructions (or 1
> for the unlock case) suddenly became 5 or more. No, thank you.
> Especially as I don't believe it buys you anything on SMP.

yep, i agree that it's overkill for SMP. 99% of RT applications are UP, so
the global depth-counter should be enough.

Ingo


-
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:57    [W:2.180 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site