All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Cc: linuxppc-dev@ozlabs.org, Mijo Safradin <safradin@de.ibm.com>,
	Cliff Wickman <cpw@sgi.com>, Christoph Lameter <clameter@sgi.com>
Subject: Re: [PATCH] numactl: fix libnuma on big-endian 64-bit systems
Date: Thu, 4 Dec 2008 21:49:05 +0100	[thread overview]
Message-ID: <200812042149.06163.arnd@arndb.de> (raw)
In-Reply-To: <1228412816.6959.48.camel@lts-notebook>

On Thursday 04 December 2008, Lee Schermerhorn wrote:
> On Thu, 2008-12-04 at 18:34 +0100, Arnd Bergmann wrote:
> > The read-mask function assumes that it is running in 32-bit mode,
> > by addressing the bitmask as a series of int values, instead of
> > longs. This is broken as can easily be reproduced by running numademo
> > on a bit-endian 64-bit system.
> > 
> > Changing the addressing to use 'long' values fixes the problem.
> 
> Hi, Arnd:
> 
> Not sure what you mean here.  If the patch below is a proposed fix [I
> don't see a 'Signed-off-by:", but maybe not needed for libnuma
> patches?], the description above doesn't match the code.  Looks like
> you're changing the addressing FROM 'long' values to use 'int' values so
> that the size is compatible between 32- and 64-bits.  Or is that a
> reverse patch/diff below?

Sorry about that, I was in a hurry when sending this one out and attached
the wrong file, the reverse patch is needed indeed. I'll resend with
a proper Signed-off-by.

	Arnd <><

  reply	other threads:[~2008-12-04 20:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-04 17:34 [PATCH] numactl: fix libnuma on big-endian 64-bit systems Arnd Bergmann
2008-12-04 17:46 ` Lee Schermerhorn
2008-12-04 20:49   ` Arnd Bergmann [this message]
2008-12-04 20:51     ` [PATCH, v2] " Arnd Bergmann
2008-12-05 15:12       ` Arnd Bergmann

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=200812042149.06163.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=Lee.Schermerhorn@hp.com \
    --cc=clameter@sgi.com \
    --cc=cpw@sgi.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=safradin@de.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.