Re: [LTP] [PATCH resend 0/6] NUMA and follow-up fix

Zhouping Liu
2012-08-10T03:17:39Z

[-- Attachment #1.1: Type: text/plain, Size: 6285 bytes --]

Hi,

On 08/09/2012 02:15 PM, Caspar Zhang wrote:
> Resending the whole patch series (including Jan's 2 patches) for easier
> reviewing.

Caspar, after applying the patch set, I met the bellow compiling error
when do 'make install':

... snip ...
make[4]: Leaving directory `/root/ltp_new/testcases/kernel/syscalls/umask'
make[3]: Leaving directory `/root/ltp_new/testcases/kernel/syscalls'
make[3]: Entering directory `/root/ltp_new/testcases/kernel/lib'
../../../include/mk/env_post.mk:94: warning: overriding recipe for
target `/opt/ltp/lib'
../../../include/mk/env_post.mk:94: warning: ignoring old recipe for
target `/opt/ltp/lib'
../../../include/mk/env_post.mk:96: warning: overriding recipe for
target `/opt/ltp/lib/libkerntest.a'
../../../include/mk/env_post.mk:96: warning: ignoring old recipe for
target `/opt/ltp/lib/libkerntest.a'
../../../include/mk/generic_trunk_target.inc:89: CURDIR is:
/root/ltp_new/testcases/kernel/lib
../../../include/mk/generic_trunk_target.inc:89: *** SUBDIRS empty --
did you want generic_leaf_target instead?. Stop.
make[3]: Leaving directory `/root/ltp_new/testcases/kernel/lib'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/root/ltp_new/testcases/kernel'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/root/ltp_new/testcases'
make: *** [testcases-install] Error 2

Thanks,
Zhouping

>
> updates:
> syscalls/numa: check syscall availability
> remove TEST() macro and use syscall() directly.
> numa_helper: move to libkerntest
> merged the library cleaning fix to this one.
> mm: use new numa_helper
> the same as previous V3 version, which already has Jan's reivew.
>
> Caspar Zhang (4):
> syscalls/numa: check syscall availability
> numa_helper: move to libkerntest
> mm: use new numa_helper
> mm: add common Makefile include: libmem.mk
>
> Jan Stancek (2):
> numa_helper: add flag to get_allowed_nodes()
> update testcases to use flag for get_allowed_nodes()
>
> testcases/kernel/Makefile | 4 +
> testcases/kernel/include/lib.mk | 37 +++
> testcases/kernel/include/numa_helper.h | 37 +++
> testcases/kernel/lib/Makefile | 29 +++
> testcases/kernel/lib/numa_helper.c | 266 ++++++++++++++++++++
> testcases/kernel/mem/cpuset/Makefile | 22 +--
> testcases/kernel/mem/cpuset/cpuset01.c | 16 +-
> testcases/kernel/mem/hugetlb/Makefile.inc | 18 +-
> testcases/kernel/mem/hugetlb/hugemmap/Makefile | 12 +-
> testcases/kernel/mem/include/libmem.mk | 40 +++
> testcases/kernel/mem/include/mem.h | 2 +-
> testcases/kernel/mem/ksm/Makefile | 22 +--
> testcases/kernel/mem/ksm/ksm02.c | 9 +-
> testcases/kernel/mem/ksm/ksm04.c | 9 +-
> testcases/kernel/mem/lib/Makefile | 1 +
> testcases/kernel/mem/lib/mem.c | 50 +++--
> testcases/kernel/mem/oom/Makefile | 22 +--
> testcases/kernel/mem/oom/oom02.c | 4 -
> testcases/kernel/mem/oom/oom04.c | 4 -
> testcases/kernel/mem/swapping/Makefile | 22 +--
> testcases/kernel/mem/thp/Makefile | 22 +--
> testcases/kernel/mem/tunable/Makefile | 22 +--
> testcases/kernel/mem/vma/Makefile | 4 +-
> testcases/kernel/mem/vma/vma02.c | 19 +-
> testcases/kernel/mem/vma/vma04.c | 11 +-
> testcases/kernel/syscalls/get_mempolicy/Makefile | 2 +-
> .../syscalls/get_mempolicy/get_mempolicy01.c | 15 +-
> testcases/kernel/syscalls/mbind/Makefile | 2 +-
> testcases/kernel/syscalls/mbind/mbind01.c | 14 +-
> testcases/kernel/syscalls/move_pages/Makefile | 2 +-
> .../kernel/syscalls/move_pages/move_pages02.c | 5 +-
> .../kernel/syscalls/move_pages/move_pages03.c | 5 +-
> .../kernel/syscalls/move_pages/move_pages04.c | 5 +-
> .../kernel/syscalls/move_pages/move_pages05.c | 5 +-
> .../kernel/syscalls/move_pages/move_pages06.c | 5 +-
> .../kernel/syscalls/move_pages/move_pages07.c | 5 +-
> .../kernel/syscalls/move_pages/move_pages08.c | 5 +-
> .../kernel/syscalls/move_pages/move_pages09.c | 5 +-
> .../kernel/syscalls/move_pages/move_pages10.c | 5 +-
> .../kernel/syscalls/move_pages/move_pages11.c | 5 +-
> .../syscalls/move_pages/move_pages_support.c | 8 +-
> testcases/kernel/syscalls/numa/Makefile | 22 --
> testcases/kernel/syscalls/numa/Makefile.inc | 27 --
> testcases/kernel/syscalls/numa/lib/Makefile | 26 --
> testcases/kernel/syscalls/numa/lib/numa_helper.c | 165 ------------
> testcases/kernel/syscalls/numa/lib/numa_helper.h | 33 ---
> 46 files changed, 562 insertions(+), 508 deletions(-)
> create mode 100644 testcases/kernel/include/lib.mk
> create mode 100644 testcases/kernel/include/numa_helper.h
> create mode 100644 testcases/kernel/lib/Makefile
> create mode 100644 testcases/kernel/lib/numa_helper.c
> create mode 100644 testcases/kernel/mem/include/libmem.mk
> delete mode 100644 testcases/kernel/syscalls/numa/Makefile
> delete mode 100644 testcases/kernel/syscalls/numa/Makefile.inc
> delete mode 100644 testcases/kernel/syscalls/numa/lib/Makefile
> delete mode 100644 testcases/kernel/syscalls/numa/lib/numa_helper.c
> delete mode 100644 testcases/kernel/syscalls/numa/lib/numa_helper.h
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list

[-- Attachment #1.2: Type: text/html, Size: 7267 bytes --]

[-- Attachment #2: Type: text/plain, Size: 395 bytes --]

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]