From: Jan S. <jst...@re...> - 2012-04-23 10:32:05
|
CMA (cross memory attach) feature introduced 2 new syscalls: process_vm_readv process_vm_writev commit fcf634098c00dd9cd247447368495f0b79be12d1 Author: Christopher Yeoh <cy...@au...> Date: Mon Oct 31 17:06:39 2011 -0700 Cross Memory Attach "The basic idea behind cross memory attach is to allow MPI programs doing intra-node communication to do a single copy of the message rather than a double copy of the message via shared memory." [1] This patch series is introducing the initial structure under syscalls/cma and first test to check various errno codes as described in proposed man page [2]. [1] http://lwn.net/Articles/451188/ [2] http://ozlabs.org/~cyeoh/cma/process_vm_readv.txt Jan Stancek (3): configure: check if process_vm_read/write is supported add testcases/kernel/syscalls/cma syscalls/cma: add errno tests configure.ac | 1 + m4/ltp-cma.m4 | 67 +++ testcases/kernel/syscalls/cma/Makefile | 22 + testcases/kernel/syscalls/cma/cma01.c | 434 ++++++++++++++++++++ .../kernel/syscalls/cma/process_vm_readv/Makefile | 29 ++ .../kernel/syscalls/cma/process_vm_writev/Makefile | 29 ++ 6 files changed, 582 insertions(+) create mode 100644 m4/ltp-cma.m4 create mode 100644 testcases/kernel/syscalls/cma/Makefile create mode 100644 testcases/kernel/syscalls/cma/cma01.c create mode 100644 testcases/kernel/syscalls/cma/process_vm_readv/Makefile create mode 100644 testcases/kernel/syscalls/cma/process_vm_writev/Makefile -- 1.7.9.3 |