linux-numa.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
To: Cliff Wickman <cpw@sgi.com>
Cc: Cliff Wickman <cpi@sgi.com>,
	Kornilios Kourtis <kkourt@cslab.ece.ntua.gr>,
	Brice Goglin <Brice.Goglin@inria.fr>,
	linux-numa@vger.kernel.org, eric.whitney@hp.com
Subject: Re: [PATCH 0/8] numactl/libnuma - Fixes and Cleanup
Date: Tue, 28 Apr 2009 16:08:38 -0400	[thread overview]
Message-ID: <1240949318.6998.97.camel@lts-notebook> (raw)
In-Reply-To: <20090428193839.GA13452@sgi.com>

On Tue, 2009-04-28 at 14:38 -0500, Cliff Wickman wrote:
> Hi Lee,
> 
> On Tue, Apr 28, 2009 at 12:36:21PM -0400, Lee Schermerhorn wrote:
> > This is a series of patches to the numactl/libnuma package, against
> > numactl-2.0.3-rc2.  A couple of these patches include hunks that may
> > be or are already in the Cliff's tree--see the patch descriptions. 
> > I've included them here as these are what I've tested with.
> > 
> > + libnuma:  
> > ++  fix apparent bitmask memory leaks;
> > ++  always return freeable bitmask pointers, instead of pointers to
> >     libnuma exported masks such as numa_no_nodes_ptr
> > ++  fix parsing of /proc/self/status cpu and node masks in
> >     set_thread_constraints.
> > 
> > + numademo:
> > ++  add extra loop in memtest() to eliminate page allocation overhead
> >     from bandwidth stats.
> > 
> > + Makefile:
> > ++ define LIBNUMA_SO and use throughout the Makefile to support
> >    multiple versions on a system.
> > 
> > + test/checkaffinity:
> > ++  fix test expression to work if numactl should fail.
> > 
> > 
> > Pick and choose as you see fit, Cliff.
> 
> Thanks for all the clean-up.
> 
> I have applied your patches and tested on ia64 (8 nodes).

Good.  I had tested on a 4-node x86_64 on a RHEL5 and a recent mmotm
kernel.  The latter is where I found the kernel breakage.

> patch1: (but not the hunks that Kornilios had supplied)
> patch2: bitmask memory leaks numa_tonode_memory()
>         numa_get_interleave_mask_v1() numa_run_on_node_mask_v2()
> patch3: leaks in numa_get_membind_v1() numa_get_run_node_mask_v1()
>         numa_get_run_node_mask_v1() numa_get_run_node_mask_v2 numa_run_on_node()
> patch4: return freeable bitmasks
> patch5: parsing of /proc/self (extends Brice's)
> patch6: numademo memtest page allocation overhead
> patch8: test/checkaffinity script
> 
> I did not apply patch 7.  I think you and Andi agreed on that.

Right.  Andi showed me the light :).

> 
> 
> The tarball is
> ftp://oss.sgi.com/www/projects/libnuma/download/numactl-2.0.3-rc3.tar.gz
> 

Thanks, 
Lee


      reply	other threads:[~2009-04-28 20:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-28 16:36 [PATCH 0/8] numactl/libnuma - Fixes and Cleanup Lee Schermerhorn
2009-04-28 16:36 ` [PATCH 1/8] numactl/libnuma - Possibly already fixed leaks and cleanup Lee Schermerhorn
2009-04-28 16:36 ` [PATCH 2/8] numactl/libnuma - Simple bitmask leak fixes Lee Schermerhorn
2009-04-28 16:36 ` [PATCH 3/8] numactl/libnuma - more " Lee Schermerhorn
2009-04-28 16:36 ` [PATCH 4/8] numactl/libnuma - return freeable bitmasks Lee Schermerhorn
2009-04-28 16:36 ` [PATCH 5/8] numactl/libnuma - fix parsing of cpu, node mask Lee Schermerhorn
2009-04-28 16:36 ` [PATCH 6/8] numactl/numademo - eliminate page allocation overhead from memtest measurements Lee Schermerhorn
2009-04-28 16:37 ` [PATCH 7/8] numactl/Makefile - Generalize Makefile .so Version Lee Schermerhorn
2009-04-28 16:46   ` Andi Kleen
2009-04-28 17:01     ` Lee Schermerhorn
2009-04-28 17:10       ` Andi Kleen
2009-04-28 16:37 ` [PATCH 8/8] numactl/test - Make checkaffinity more robust Lee Schermerhorn
2009-04-28 19:38 ` [PATCH 0/8] numactl/libnuma - Fixes and Cleanup Cliff Wickman
2009-04-28 20:08   ` Lee Schermerhorn [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=1240949318.6998.97.camel@lts-notebook \
    --to=lee.schermerhorn@hp.com \
    --cc=Brice.Goglin@inria.fr \
    --cc=cpi@sgi.com \
    --cc=cpw@sgi.com \
    --cc=eric.whitney@hp.com \
    --cc=kkourt@cslab.ece.ntua.gr \
    --cc=linux-numa@vger.kernel.org \
    /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).