* Getting rid of irq_stat_t
@ 2002-08-15 6:52 Rusty Russell
0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2002-08-15 6:52 UTC (permalink / raw)
To: linux-kernel; +Cc: davidm, torvalds, ak
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-08-15 6:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-15 6:52 Getting rid of irq_stat_t Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®