lkml.org 
[lkml]   [2005]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Per cpu irq stat
On Tue, 15 Mar 2005, Christoph Hellwig wrote:

> On Mon, Mar 14, 2005 at 10:32:34PM -0800, Christoph Lameter wrote:
> > The definition of the irq_stat as an array means that the individual
> > elements of the irq_stat array are located on one NUMA node requiring
> > internode traffic to access irq_stat from other nodes. This patch makes
> > irq_stat a per_cpu variable which allows most accesses to be local.
>
> There's architectures accessing it from assemly.

The patch is i386 specific!

> But furthermore there's absolutely not point for the irq_stat structure
> at all anymore now that we have the per_cpu infrastructure. so kill it
> completely and let every architecture just provide a local_softirq_pending
> macro.

That would require reworking a lot of architectures.

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

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