All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/3] memcontrol02: Add VFAT/MSDOS magic and set error to 50% for it also
@ 2022-01-24 17:36 Richard Palethorpe via ltp
  2022-01-24 17:36 ` [LTP] [PATCH 2/3] memcontrol02: Fix anon memory comparison Richard Palethorpe via ltp
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Richard Palethorpe via ltp @ 2022-01-24 17:36 UTC (permalink / raw)
  To: ltp; +Cc: Richard Palethorpe

VFAT also allocates some extra non-pagecache memory for tracking
buffers.

Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
---
 include/tst_fs.h                                  | 1 +
 testcases/kernel/controllers/memcg/memcontrol02.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/include/tst_fs.h b/include/tst_fs.h
index efcdff608..3bab9da8b 100644
--- a/include/tst_fs.h
+++ b/include/tst_fs.h
@@ -30,6 +30,7 @@
 #define TST_EXOFS_MAGIC    0x5DF5
 #define TST_OVERLAYFS_MAGIC 0x794c7630
 #define TST_FUSE_MAGIC     0x65735546
+#define TST_VFAT_MAGIC     0x4d44 /* AKA MSDOS */
 #define TST_EXFAT_MAGIC    0x2011BAB0UL
 
 enum {
diff --git a/testcases/kernel/controllers/memcg/memcontrol02.c b/testcases/kernel/controllers/memcg/memcontrol02.c
index 0b8f317a8..411f5aea6 100644
--- a/testcases/kernel/controllers/memcg/memcontrol02.c
+++ b/testcases/kernel/controllers/memcg/memcontrol02.c
@@ -153,6 +153,7 @@ static void setup(void)
 	cg_test = tst_cgroup_get_test_group();
 
 	switch (tst_fs_type(TMPDIR)) {
+	case TST_VFAT_MAGIC:
 	case TST_EXFAT_MAGIC:
 	case TST_EXT234_MAGIC:
 		file_to_all_error = 50;
-- 
2.34.1


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

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

end of thread, other threads:[~2022-01-25 15:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-24 17:36 [LTP] [PATCH 1/3] memcontrol02: Add VFAT/MSDOS magic and set error to 50% for it also Richard Palethorpe via ltp
2022-01-24 17:36 ` [LTP] [PATCH 2/3] memcontrol02: Fix anon memory comparison Richard Palethorpe via ltp
2022-01-25 11:53   ` Cyril Hrubis
2022-01-25 11:54     ` Cyril Hrubis
2022-01-25 14:19       ` Richard Palethorpe
2022-01-24 17:36 ` [LTP] [PATCH 3/3] memcontrol02: Increase expected error with increase in pagesize Richard Palethorpe via ltp
2022-01-25 14:58   ` Cyril Hrubis
2022-01-25 11:46 ` [LTP] [PATCH 1/3] memcontrol02: Add VFAT/MSDOS magic and set error to 50% for it also Cyril Hrubis
2022-01-25 14:49 ` [LTP] [PATCH v2 " Richard Palethorpe via ltp
2022-01-25 14:49   ` [LTP] [PATCH v2 2/3] memcontrol02: Fix anon memory comparison Richard Palethorpe via ltp
2022-01-25 15:31     ` Cyril Hrubis
2022-01-25 14:49   ` [LTP] [PATCH v2 3/3] memcontrol02: Increase expected error with increase in pagesize Richard Palethorpe via ltp

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.