From: Bodo Eggert <7eggert@gmx.de>
To: Dave Jones <davej@redhat.com>,
mingo@redhat.com, Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Shrink the held_lock struct by using bitfields.
Date: Wed, 03 Jan 2007 01:47:36 +0100 [thread overview]
Message-ID: <E1H1uI5-0000mn-0j@be1.lrz> (raw)
In-Reply-To: <7z1oG-6Jr-5@gated-at.bofh.it>
Dave Jones <davej@redhat.com> wrote:
> Shrink the held_lock struct by using bitfields.
> This shrinks task_struct on lockdep enabled kernels by 480 bytes.
> * The following field is used to detect when we cross into an
> * interrupt context:
> */
> - int irq_context;
[...]
> + unsigned char irq_context:1;
[...]
Can these fields be set by concurrent processes, e.g.:
CPU0 CPU1
load flags
load flags
flip bit
store
flip bit
store
?
--
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.
http://david.woodhou.se/why-not-spf.html
next parent reply other threads:[~2007-01-03 0:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <7z1oG-6Jr-5@gated-at.bofh.it>
2007-01-03 0:47 ` Bodo Eggert [this message]
2007-01-03 1:06 ` Dave Jones
2007-01-02 23:35 Dave Jones
2007-01-02 23:38 ` Dave Jones
2007-01-14 18:45 ` Ingo Molnar
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=E1H1uI5-0000mn-0j@be1.lrz \
--to=7eggert@gmx.de \
--cc=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.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®