public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v3 0/3] new syscall tests for migrate_pages
@ 2012-10-26 13:31 Jan Stancek
  2012-10-26 13:31 ` [LTP] [PATCH v3 1/3] numa_helper: export get_max_node() Jan Stancek
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jan Stancek @ 2012-10-26 13:31 UTC (permalink / raw)
  To: ltp-list

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-11-02  2:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-26 13:31 [LTP] [PATCH v3 0/3] new syscall tests for migrate_pages Jan Stancek
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox