lkml.org 
[lkml]   [2002]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectGetting rid of irq_stat_t
Date
Hi all,

Doing per-cpu cleanups: everyone except ia64 and x86_64 use
the generic irq_stat_t macros. There are two obvious ways to go: one
is to simply use per-cpu macros directly (nice and clean), the other
is to rework the softirq_pending() etc macros (adding
local_softirq_pending()) to use per-cpu everywhere except your two
platforms, which means callers need to disable preemption explicitly
(get_* and put* versions of the macros seems overkill).

The motivation is that accessing irq_stat_t is one of the main
reasons for smp_processor_id() etc.

Thoughts?
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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 13:28    [W:0.063 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site