Skip to contentSkip to conversation

add CMA test

PATCH Superseded Jan Stancek 2 participants 3 messages May 22, 2012 – Jun 29, 2012

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover add CMA test

changes in v2
- dropped configure check as glibc wrapper calls syscall directly, and using syscall(2) we can test also when glibc wrappers are missing
- added simplified process_vm.h

CMA (cross memory attach) feature introduced 2 new syscalls:
process_vm_readv
process_vm_writev

commit fcf634098c00dd9cd247447368495f0b79be12d1
Author: Christopher Yeoh <[email protected]>
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):
add testcases/kernel/syscalls/cma
cma: add process_vm.h
syscalls/cma: add errno tests

 runtest/syscalls                                   |    3 +
 testcases/kernel/syscalls/cma/Makefile             |   22 +
 testcases/kernel/syscalls/cma/cma01.c              |  421 ++++++++++++++++++++
 testcases/kernel/syscalls/cma/process_vm.h         |   58 +++
 .../kernel/syscalls/cma/process_vm_readv/Makefile  |   29 ++
 .../kernel/syscalls/cma/process_vm_writev/Makefile |   29 ++
 6 files changed, 562 insertions(+), 0 deletions(-)
 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.h
 create mode 100644 testcases/kernel/syscalls/cma/process_vm_readv/Makefile
 create mode 100644 testcases/kernel/syscalls/cma/process_vm_writev/Makefile

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 8 lines · Jan Stancek

changes in v2
- dropped configure check as glibc wrapper calls syscall directly, and using syscall(2) we can test also when glibc wrappers are missing
- added simplified process_vm.h

CMA (cross memory attach) feature introduced 2 new syscalls:
process_vm_readv
process_vm_writev

Hi Jan,

This series is also lost, please send in one thread for reviewing if you can.

Thanks,
Wanlong Gao

Quoted 35 lines

commit fcf634098c00dd9cd247447368495f0b79be12d1
Author: Christopher Yeoh <[email protected]>
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):
add testcases/kernel/syscalls/cma
cma: add process_vm.h
syscalls/cma: add errno tests

 runtest/syscalls                                   |    3 +
 testcases/kernel/syscalls/cma/Makefile             |   22 +
 testcases/kernel/syscalls/cma/cma01.c              |  421 ++++++++++++++++++++
 testcases/kernel/syscalls/cma/process_vm.h         |   58 +++
 .../kernel/syscalls/cma/process_vm_readv/Makefile  |   29 ++
 .../kernel/syscalls/cma/process_vm_writev/Makefile |   29 ++
 6 files changed, 562 insertions(+), 0 deletions(-)
 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.h
 create mode 100644 testcases/kernel/syscalls/cma/process_vm_readv/Makefile
 create mode 100644 testcases/kernel/syscalls/cma/process_vm_writev/Makefile
Quoted 11 lines

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#2 lore raw
Quoted 6 lines · Wanlong Gao
Quoted 5 lines · Jan Stancek

changes in v2
- dropped configure check as glibc wrapper calls syscall directly, and using syscall(2) we can test also when glibc wrappers are missing
- added simplified process_vm.h

Quoted 7 lines
Quoted 3 lines

CMA (cross memory attach) feature introduced 2 new syscalls:
process_vm_readv
process_vm_writev

Hi Jan,

This series is also lost, please send in one thread for reviewing if you can.

I have found the V3, please ignore this request.

Wanlong Gao

Quoted 53 lines

Thanks,
Wanlong Gao

Quoted 35 lines

commit fcf634098c00dd9cd247447368495f0b79be12d1
Author: Christopher Yeoh <[email protected]>
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):
add testcases/kernel/syscalls/cma
cma: add process_vm.h
syscalls/cma: add errno tests

 runtest/syscalls                                   |    3 +
 testcases/kernel/syscalls/cma/Makefile             |   22 +
 testcases/kernel/syscalls/cma/cma01.c              |  421 ++++++++++++++++++++
 testcases/kernel/syscalls/cma/process_vm.h         |   58 +++
 .../kernel/syscalls/cma/process_vm_readv/Makefile  |   29 ++
 .../kernel/syscalls/cma/process_vm_writev/Makefile |   29 ++
 6 files changed, 562 insertions(+), 0 deletions(-)
 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.h
 create mode 100644 testcases/kernel/syscalls/cma/process_vm_readv/Makefile
 create mode 100644 testcases/kernel/syscalls/cma/process_vm_writev/Makefile
Quoted 11 lines

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Quoted 11 lines

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list