public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/2 v4] Add mbind and set_mempolicy tests
@ 2019-02-28 15:34 Cyril Hrubis
  2019-02-28 15:34 ` [LTP] [PATCH 1/2 v4] syscalls: Add set_mempolicy numa tests Cyril Hrubis
  2019-02-28 15:34 ` [LTP] [PATCH 2/2] syscalls/mbind0{2,3,4}: Add basic mbind tests Cyril Hrubis
  0 siblings, 2 replies; 8+ messages in thread
From: Cyril Hrubis @ 2019-02-28 15:34 UTC (permalink / raw)
  To: ltp

Changes from v3 for the set_mempolicy patch follows comments from Jan,
the allocation stays in the library but was made generic enough to
support mbind tests.

The mbind tests are not 100% ready to be merged, but are included to
show that the API is flexible enough now.

Cyril Hrubis (2):
  syscalls: Add set_mempolicy numa tests.
  syscalls/mbind0{2,3,4}: Add basic mbind tests

 include/tst_numa.h                            | 112 ++++++++++
 lib/tst_numa.c                                | 208 ++++++++++++++++++
 runtest/numa                                  |   5 +
 runtest/syscalls                              |   3 +
 testcases/kernel/syscalls/mbind/.gitignore    |   3 +
 testcases/kernel/syscalls/mbind/mbind.h       |  26 +++
 testcases/kernel/syscalls/mbind/mbind02.c     |  99 +++++++++
 testcases/kernel/syscalls/mbind/mbind03.c     | 123 +++++++++++
 testcases/kernel/syscalls/mbind/mbind04.c     | 127 +++++++++++
 .../kernel/syscalls/set_mempolicy/.gitignore  |   4 +
 .../kernel/syscalls/set_mempolicy/Makefile    |   7 +
 .../syscalls/set_mempolicy/set_mempolicy.h    |  21 ++
 .../syscalls/set_mempolicy/set_mempolicy01.c  | 120 ++++++++++
 .../syscalls/set_mempolicy/set_mempolicy02.c  | 117 ++++++++++
 .../syscalls/set_mempolicy/set_mempolicy03.c  | 113 ++++++++++
 .../syscalls/set_mempolicy/set_mempolicy04.c  | 142 ++++++++++++
 16 files changed, 1230 insertions(+)
 create mode 100644 include/tst_numa.h
 create mode 100644 lib/tst_numa.c
 create mode 100644 testcases/kernel/syscalls/mbind/mbind.h
 create mode 100644 testcases/kernel/syscalls/mbind/mbind02.c
 create mode 100644 testcases/kernel/syscalls/mbind/mbind03.c
 create mode 100644 testcases/kernel/syscalls/mbind/mbind04.c
 create mode 100644 testcases/kernel/syscalls/set_mempolicy/.gitignore
 create mode 100644 testcases/kernel/syscalls/set_mempolicy/Makefile
 create mode 100644 testcases/kernel/syscalls/set_mempolicy/set_mempolicy.h
 create mode 100644 testcases/kernel/syscalls/set_mempolicy/set_mempolicy01.c
 create mode 100644 testcases/kernel/syscalls/set_mempolicy/set_mempolicy02.c
 create mode 100644 testcases/kernel/syscalls/set_mempolicy/set_mempolicy03.c
 create mode 100644 testcases/kernel/syscalls/set_mempolicy/set_mempolicy04.c

-- 
2.19.2


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

end of thread, other threads:[~2019-06-03 14:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-28 15:34 [LTP] [PATCH 0/2 v4] Add mbind and set_mempolicy tests Cyril Hrubis
2019-02-28 15:34 ` [LTP] [PATCH 1/2 v4] syscalls: Add set_mempolicy numa tests Cyril Hrubis
2019-03-04  7:39   ` Jan Stancek
2019-03-06 15:30     ` Cyril Hrubis
2019-03-06 15:38       ` Jan Stancek
2019-02-28 15:34 ` [LTP] [PATCH 2/2] syscalls/mbind0{2,3,4}: Add basic mbind tests Cyril Hrubis
2019-06-03 14:04   ` [LTP] [PATCH 2/2] syscalls/mbind0{2, 3, 4}: " Petr Vorel
2019-06-03 14:12   ` Petr Vorel

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