All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH v2 0/2] KSM: support smart-scan feature
@ 2023-12-01 21:09 ` Stefan Roesch
  0 siblings, 0 replies; 20+ messages in thread
From: Stefan Roesch @ 2023-12-01 21:09 UTC (permalink / raw)
  To: kernel-team; +Cc: linux-mm, david, oliver.sang, shr, ltp

This patch series makes two changes:
- Disable the smart-scan feature for ksm01 - ksm04
  This is necessary to make sure that the volatile metrics have the
  expected counts.
- Add a new test for the smart-scan feature
  The new test verifies that the smart-scan feature skips pages when it has
  been enabled for a VMA.

Versions:
- V2:
  - Disable smart_scan in the test setup structure
  - Remove the changes in create_same_memory()
  - Add the new testcase ksm07 for the smart scan test
  

Stefan Roesch (2):
  mem: disable KSM smart scan for ksm tests
  add ksm test for smart-scan feature

 testcases/kernel/mem/.gitignore    |  1 +
 testcases/kernel/mem/include/mem.h |  1 +
 testcases/kernel/mem/ksm/ksm01.c   |  2 +
 testcases/kernel/mem/ksm/ksm02.c   |  2 +
 testcases/kernel/mem/ksm/ksm03.c   |  2 +
 testcases/kernel/mem/ksm/ksm04.c   |  2 +
 testcases/kernel/mem/ksm/ksm07.c   | 69 +++++++++++++++++++++++++++++
 testcases/kernel/mem/lib/mem.c     | 70 ++++++++++++++++++++++++++++++
 8 files changed, 149 insertions(+)
 create mode 100644 testcases/kernel/mem/ksm/ksm07.c


base-commit: 8c89ef3d451087ed6e18750bd5eedd10e5ab3d2e
-- 
2.39.3


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

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

end of thread, other threads:[~2023-12-04 18:44 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-01 21:09 [LTP] [PATCH v2 0/2] KSM: support smart-scan feature Stefan Roesch
2023-12-01 21:09 ` Stefan Roesch
2023-12-01 21:09 ` [LTP] [PATCH v2 1/2] mem: disable KSM smart scan for ksm tests Stefan Roesch
2023-12-01 21:09   ` Stefan Roesch
2023-12-04 10:45   ` [LTP] " Petr Vorel
2023-12-04 10:45     ` Petr Vorel
2023-12-04 18:38     ` [LTP] " Stefan Roesch
2023-12-04 18:38       ` Stefan Roesch
2023-12-04 18:38     ` [LTP] " Stefan Roesch
2023-12-04 18:38       ` Stefan Roesch
2023-12-01 21:09 ` [LTP] [PATCH v2 2/2] add ksm test for smart-scan feature Stefan Roesch
2023-12-01 21:09   ` Stefan Roesch
2023-12-04  9:21   ` [LTP] " Petr Vorel
2023-12-04  9:21     ` Petr Vorel
2023-12-04 18:41     ` [LTP] " Stefan Roesch
2023-12-04 18:41       ` Stefan Roesch
2023-12-04 10:39   ` [LTP] " Petr Vorel
2023-12-04 10:39     ` Petr Vorel
2023-12-04 18:42     ` [LTP] " Stefan Roesch
2023-12-04 18:42       ` Stefan Roesch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.