mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] proc: fix smaps_rollup test after KSM changes
@ 2023-09-07 11:10 Alexey Dobriyan
  2023-09-07 11:15 ` David Hildenbrand
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2023-09-07 11:10 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, Stefan Roesch, David Hildenbrand

/proc/${pid}/smaps_rollup is not empty file even if process's address
space is empty, update the test.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 tools/testing/selftests/proc/proc-empty-vm.c |    1 +
 1 file changed, 1 insertion(+)

--- a/tools/testing/selftests/proc/proc-empty-vm.c
+++ b/tools/testing/selftests/proc/proc-empty-vm.c
@@ -267,6 +267,7 @@ static const char g_smaps_rollup[] =
 "Private_Dirty:         0 kB\n"
 "Referenced:            0 kB\n"
 "Anonymous:             0 kB\n"
+"KSM:                   0 kB\n"
 "LazyFree:              0 kB\n"
 "AnonHugePages:         0 kB\n"
 "ShmemPmdMapped:        0 kB\n"

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

end of thread, other threads:[~2023-09-07 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-07 11:10 [PATCH] proc: fix smaps_rollup test after KSM changes Alexey Dobriyan
2023-09-07 11:15 ` David Hildenbrand

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

all inboxes | Powered by JetHome®