From: Rusty Russell <rusty@rustcorp.com.au>
To: linux-kernel@vger.kernel.org
Cc: davidm@hpl.hp.com, torvalds@transmeta.com, ak@suse.de
Subject: Getting rid of irq_stat_t
Date: Thu, 15 Aug 2002 16:52:52 +1000 [thread overview]
Message-ID: <20020815015340.52C2B2C24B@lists.samba.org> (raw)
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.
reply other threads:[~2002-08-15 6:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020815015340.52C2B2C24B@lists.samba.org \
--to=rusty@rustcorp.com.au \
--cc=ak@suse.de \
--cc=davidm@hpl.hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®