linux-alpha.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Michael Cree <mcree@orcon.net.nz>
Cc: linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org,
	ink@jurassic.park.msu.ru, David Howells <dhowells@redhat.com>
Subject: Re: Alpha: suspicious compiler warning in entry.S
Date: Wed, 28 Oct 2009 16:13:09 -0700	[thread overview]
Message-ID: <4AE8D005.1030302@twiddle.net> (raw)
In-Reply-To: <4AE7ECC2.8050202@orcon.net.nz>

On 10/28/2009 12:03 AM, Michael Cree wrote:
> I am wondering whether it might be better
> to rearrange the bits in the thread information flags so that
> _TIF_WORK_MASK
> has a value less than 255 and the single instruction to perform an and
> operation can be maintained.

It would be better to rearrange TIF_NODIFY_RESUME down to 3.

In fact, you might as well rearrange the ones currently occupying
3-7 up to 8 and leave a hole for _TIF_WORK_MASK expansion, and
add a nice comment there at the same time.


r~

  reply	other threads:[~2009-10-28 23:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-28  7:03 Alpha: suspicious compiler warning in entry.S Michael Cree
2009-10-28 23:13 ` Richard Henderson [this message]
2009-10-31  2:33   ` [PATCH] Alpha: Rearrange thread info flags fixing two regressions Michael Cree
2009-12-01  4:06     ` Matt Turner
2009-12-01 12:31       ` Christoph Hellwig
2009-12-01 15:58         ` Matt Turner
2009-10-30 13:16 ` Alpha: suspicious compiler warning in entry.S David Howells

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=4AE8D005.1030302@twiddle.net \
    --to=rth@twiddle.net \
    --cc=dhowells@redhat.com \
    --cc=ink@jurassic.park.msu.ru \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcree@orcon.net.nz \
    /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;
as well as URLs for NNTP newsgroup(s).