public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernelkracker <isys1@home.com>
To: linux-kernel@vger.kernel.org
Subject: global_irq_count vs global_irq_lock
Date: Thu, 16 Aug 2001 11:30:07 -0700	[thread overview]
Message-ID: <3B7C112F.1F2D183B@home.com> (raw)

Hello,

This is probably a kernel newbie question so my apologies in advance.

I have a design/implementation question.

global_irq_count is defined as atomic_t whereas globall_irq_lock is
defined as unsigned volatiile int.
Is this by design? or by chance?

Why would you be concerned about reading global_irq_count atomically and
not global_irq_count as it is done is several
functions in linux/arch/i386/irq.c in kernel 2.2.18.

If it is by design, what am I missing.

Please cc me on your respone as I am not on the list.

Take care!


                 reply	other threads:[~2001-08-16 17:39 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=3B7C112F.1F2D183B@home.com \
    --to=isys1@home.com \
    --cc=linux-kernel@vger.kernel.org \
    /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