From: Jan Stancek <jstancek@redhat.com>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] [PATCH v3 0/3] new syscall tests for migrate_pages
Date: Fri, 26 Oct 2012 15:31:14 +0200 [thread overview]
Message-ID: <cover.1351256774.git.jstancek@redhat.com> (raw)
Changes in v3:
- changed "expected ret success -" to "expected ret success:"
- add comment about "minimum free mem on node"
- check that "minimum free mem on node" can be allocated with numa_alloc_onnode()
- add comment about Bug 870326 - migrate_pages() reports success, but pages are not moved to desired node
Larry Woodman is looking into it, this testcase should not hit it with check above
- change 'pid' parameter from int to pid_t in migrate_to_node()
- if migrate_pages() fails, print:
1. /proc/$pid/status
2. free space on node where it failed to migrate to
- small style cleanups
- add new syscall binaries to ../.gitignore
Jan Stancek (3):
numa_helper: export get_max_node()
new syscall test: migrate_pages01
new syscall test: migrate_pages02
runtest/syscalls | 3 +
testcases/kernel/include/numa_helper.h | 1 +
testcases/kernel/lib/numa_helper.c | 6 +-
testcases/kernel/syscalls/.gitignore | 2 +
testcases/kernel/syscalls/migrate_pages/Makefile | 32 ++
.../syscalls/migrate_pages/migrate_pages01.c | 280 +++++++++++++
.../syscalls/migrate_pages/migrate_pages02.c | 419 ++++++++++++++++++++
.../syscalls/migrate_pages/migrate_pages_common.c | 62 +++
.../syscalls/migrate_pages/migrate_pages_common.h | 33 ++
9 files changed, 836 insertions(+), 2 deletions(-)
create mode 100644 testcases/kernel/syscalls/migrate_pages/Makefile
create mode 100644 testcases/kernel/syscalls/migrate_pages/migrate_pages01.c
create mode 100644 testcases/kernel/syscalls/migrate_pages/migrate_pages02.c
create mode 100644 testcases/kernel/syscalls/migrate_pages/migrate_pages_common.c
create mode 100644 testcases/kernel/syscalls/migrate_pages/migrate_pages_common.h
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next reply other threads:[~2012-10-26 13:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-26 13:31 Jan Stancek [this message]
2012-10-26 13:31 ` [LTP] [PATCH v3 1/3] numa_helper: export get_max_node() Jan Stancek
2012-10-29 15:30 ` chrubis
2012-11-02 2:00 ` Wanlong Gao
2012-10-26 13:31 ` [LTP] [PATCH v3 2/3] new syscall test: migrate_pages01 Jan Stancek
2012-11-02 2:00 ` Wanlong Gao
2012-10-26 13:31 ` [LTP] [PATCH v3 3/3] new syscall test: migrate_pages02 Jan Stancek
2012-11-02 2:02 ` 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=cover.1351256774.git.jstancek@redhat.com \
--to=jstancek@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox