All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhouping Liu <zliu@redhat.com>
To: Caspar Zhang <caspar@casparzhang.com>
Cc: LTP List <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] [PATCH resend 4/6 v2] numa_helper: move to libkerntest
Date: Fri, 10 Aug 2012 15:51:54 +0800	[thread overview]
Message-ID: <5024BD9A.9020104@redhat.com> (raw)
In-Reply-To: <26038550c7f51ea9d7a35b87b4e780f8bb4e05a9.1344569191.git.caspar@casparzhang.com>


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

On 08/10/2012 11:26 AM, Caspar Zhang wrote:
> libnuma_helper could be used by testcases both under syscalls/ and mem/,
> it's better to add a new common lib in their parent dir, so I created
> libkerntest under testcases/kernel/lib/, and put numa_helper to it. In
> the future, we can add more APIs to it.
>
> Signed-off-by: Caspar Zhang <caspar@casparzhang.com>
tested on two machines with 2 & 8 nodes, and offline all cpus in one 
nodes, not found any issues.

Tested-by: Zhouping Liu <zliu@redhat.com>

Thanks,
Zhouping

> ---
>   testcases/kernel/Makefile                        |    4 +
>   testcases/kernel/include/lib.mk                  |   37 +++
>   testcases/kernel/include/numa_helper.h           |   37 +++
>   testcases/kernel/lib/Makefile                    |   28 +++
>   testcases/kernel/lib/numa_helper.c               |  266 ++++++++++++++++++++++
>   testcases/kernel/syscalls/get_mempolicy/Makefile |    2 +-
>   testcases/kernel/syscalls/mbind/Makefile         |    2 +-
>   testcases/kernel/syscalls/move_pages/Makefile    |    2 +-
>   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 |  266 ----------------------
>   testcases/kernel/syscalls/numa/lib/numa_helper.h |   37 ---
>   13 files changed, 375 insertions(+), 381 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
>   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: 3771 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 --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2012-08-10  7:56 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-09  6:15 [LTP] [PATCH resend 0/6] NUMA and follow-up fix Caspar Zhang
2012-08-09  6:15 ` [LTP] [PATCH resend 1/6] numa_helper: add flag to get_allowed_nodes() Caspar Zhang
2012-08-10  7:43   ` Zhouping Liu
2012-08-09  6:15 ` [LTP] [PATCH resend 2/6] update testcases to use flag for get_allowed_nodes() Caspar Zhang
2012-08-10  7:45   ` Zhouping Liu
2012-08-09  6:15 ` [LTP] [PATCH resend 3/6] syscalls/numa: check syscall availability Caspar Zhang
2012-08-09  9:22   ` Jan Stancek
2012-08-09 10:35     ` Caspar Zhang
2012-08-10  7:46   ` Zhouping Liu
2012-08-10  7:54     ` Wanlong Gao
2012-08-10  8:13       ` Zhouping Liu
2012-08-09  6:15 ` [LTP] [PATCH resend 4/6] numa_helper: move to libkerntest Caspar Zhang
2012-08-10  3:26   ` [LTP] [PATCH resend 4/6 v2] " Caspar Zhang
2012-08-10  7:51     ` Zhouping Liu [this message]
2012-08-09  6:15 ` [LTP] [PATCH resend 5/6] mm: use new numa_helper Caspar Zhang
2012-08-10  8:02   ` Zhouping Liu
2012-08-10  8:22     ` Caspar Zhang
2012-08-10  8:24     ` Jan Stancek
2012-08-10  9:54       ` Zhouping Liu
2012-08-09  6:15 ` [LTP] [PATCH resend 6/6] mm: add common Makefile include: libmem.mk Caspar Zhang
2012-08-09 10:15 ` [LTP] [PATCH resend 0/6] NUMA and follow-up fix Jan Stancek
2012-08-09 10:31 ` [LTP] [PATCH resend v2 3/6] syscalls/numa: check syscall availability Caspar Zhang
2012-08-10  8:10   ` Zhouping Liu
2012-08-10  3:12 ` [LTP] [PATCH resend 0/6] NUMA and follow-up fix Zhouping Liu
2012-08-10  3:28   ` Caspar Zhang
2012-08-10  3:57     ` Zhouping Liu
2012-08-10  9:22 ` Wanlong Gao

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=5024BD9A.9020104@redhat.com \
    --to=zliu@redhat.com \
    --cc=caspar@casparzhang.com \
    --cc=ltp-list@lists.sourceforge.net \
    /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.