linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Mijo Safradin <msafradin@gmx.de>
To: Cliff Wickman <cpw@sgi.com>
Cc: Lee.Schermerhorn@hp.com, safradin@de.ibm.com, arnd@arndb.de,
	linuxppc-dev@ozlabs.org
Subject: Re: [Re: PATCH] numactl: fix libnuma on big-endian 64-bit systems
Date: Wed, 10 Dec 2008 10:52:29 +0100	[thread overview]
Message-ID: <493F915D.9090909@gmx.de> (raw)
In-Reply-To: <E1L8ejM-0003Ln-VN@eag09.americas.sgi.com>

Cliff Wickman wrote:
> linux-numa@vger.kernel.org
> 
> Arnd Bergmann and Mijo Safradin called my attention to problems with
> libnuma's read_mask() on a big-endian 64-bit machine.
> 
> In testing that function I found it to be buggy on little-endian and 32-bit
> systems as well.
> 
> I propose a function that looks like the below.  The patch is farther below.
> (Arnd, I did not switch to longs, as that proved problematic.  The ascii hex
>  strings being scanned are 32-bit values.)
> 
> I tested on a 64-bit MIPS system.  Could you test on your platform?
> 

Hi Cliff,

using the current numactl-2.0.3-rc1.tar.gz, which contains your patch.
numademo breaks with "mbind: Invalid argument". 

Mijo

      reply	other threads:[~2008-12-10  9:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-05 17:44 [Re: PATCH] numactl: fix libnuma on big-endian 64-bit systems Cliff Wickman
2008-12-10  9:52 ` Mijo Safradin [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=493F915D.9090909@gmx.de \
    --to=msafradin@gmx.de \
    --cc=Lee.Schermerhorn@hp.com \
    --cc=arnd@arndb.de \
    --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 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).