public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: "Michael S. Tsirkin" <mst@mellanox.co.il>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>,
	linux-arch@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
	Roland Dreier <rdreier@cisco.com>,
	Hugh Dickins <hugh@veritas.com>
Subject: Re: [Fwd: Re: [PATCH] madvise MADV_DONTFORK/MADV_DOFORK]
Date: Wed, 15 Feb 2006 05:43:09 -0700	[thread overview]
Message-ID: <20060215124309.GO12822@parisc-linux.org> (raw)
In-Reply-To: <20060215081002.GB10026@mellanox.co.il>

On Wed, Feb 15, 2006 at 10:10:02AM +0200, Michael S. Tsirkin wrote:
> I assume that the values are different on different architectures
> because of legacy/backward compatibility concerns, but I dont see
> compelling reasons to mess up new values.
> Why is it important to keep the MADV_ numbers densely packed?  We have 32 bit
> for these, dont we?

Efficiency.  GCC does much better with densely packed numbers in a
switch statement.

      parent reply	other threads:[~2006-02-15 12:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-15  6:18 [Fwd: Re: [PATCH] madvise MADV_DONTFORK/MADV_DOFORK] Nick Piggin
2006-02-15  8:10 ` Michael S. Tsirkin
2006-02-15  8:17   ` Nick Piggin
2006-02-15  8:49     ` Nick Piggin
2006-02-15 12:12       ` Michael S. Tsirkin
2006-02-15 10:18     ` Russell King
2006-02-15 12:31       ` Nick Piggin
2006-02-15 10:20     ` Michael S. Tsirkin
2006-02-15 12:43   ` Matthew Wilcox [this message]

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=20060215124309.GO12822@parisc-linux.org \
    --to=matthew@wil.cx \
    --cc=akpm@osdl.org \
    --cc=hugh@veritas.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=mst@mellanox.co.il \
    --cc=nickpiggin@yahoo.com.au \
    --cc=rdreier@cisco.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