On 10/26/2012 09:31 PM, Jan Stancek wrote: > 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
I will take this with Zhouping's Reviewed-by if no objection by this Friday. Thanks, Wanlong Gao > > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list > ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
