Skip to content

numactl/libnuma - Fixes and Cleanup

Lee Schermerhorn linux-numa 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8numactl/libnuma - Possibly already fixed leaks and cleanuplibnuma.c+14 -80 replies
2/8numactl/libnuma - Simple bitmask leak fixeslibnuma.c+7 -50 replies
3/8numactl/libnuma - more bitmask leak fixeslibnuma.c+47 -280 replies
4/8numactl/libnuma - return freeable bitmaskslibnuma.c+10 -80 replies
5/8numactl/libnuma - fix parsing of cpu, node masklibnuma.c+8 -20 replies
6/8numactl/numademo - eliminate page allocation overhead from memtest measurementsnumademo.c+8 -10 replies
7/8numactl/Makefile - Generalize Makefile .so VersionMakefile+11 -93 replies
8/8numactl/test - Make checkaffinity more robusttest/checkaffinity+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] numactl/libnuma - Fixes and Cleanup

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.

Lee