Skip to contentSkip to conversation

memcontrol02: Fix the doc to fit RST format

PATCH In review Ma Xinjian via ltp 1 participant 2 messages Apr 11, 2025 – Apr 16, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 memcontrol02: Fix the doc to fit RST format

---
 testcases/kernel/controllers/memcg/memcontrol02.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
testcases/kernel/controllers/memcg/memcontrol02.c +5 -4
index 2d47e5042..101b4e1bf 100644
@@ -4,6 +4,7 @@
  * Conversion of second kself test in cgroup/test_memcontrol.c.
  *
  * Original description:
+ *
  * "This test creates a memory cgroup, allocates some anonymous memory
  * and some pagecache and check memory.current and some memory.stat
  * values."
@@ -12,11 +13,11 @@
  * file in V2. Besides error reporting, this test differs from the
  * kselftest in the following ways:
  *
- * . It supports V1.
- * . It writes instead of reads to fill the page cache. Because no
+ * - It supports V1.
+ * - It writes instead of reads to fill the page cache. Because no
  *   pages were allocated on tmpfs.
- * . It runs on most filesystems available
- * . On EXFAT and extN we change the margin of error between all and file
+ * - It runs on most filesystems available
+ * - On EXFAT and extN we change the margin of error between all and file
  *   memory to 50%. Because these allocate non-page-cache memory during writes.
  */
 #define _GNU_SOURCE
Signature · 5 lines
2.47.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
#1 lore raw

Hi Ma,

I merged this patch as well as all the others RST fix.

Thanks,
Andrea Cervesato

Quoted 33 lines · Ma Xinjian via ltp
---
  testcases/kernel/controllers/memcg/memcontrol02.c | 9 +++++----
  1 file changed, 5 insertions(+), 4 deletions(-)
testcases/kernel/controllers/memcg/memcontrol02.c +5 -4
index 2d47e5042..101b4e1bf 100644
@@ -4,6 +4,7 @@
   * Conversion of second kself test in cgroup/test_memcontrol.c.
   *
   * Original description:
+ *
   * "This test creates a memory cgroup, allocates some anonymous memory
   * and some pagecache and check memory.current and some memory.stat
   * values."
@@ -12,11 +13,11 @@
   * file in V2. Besides error reporting, this test differs from the
   * kselftest in the following ways:
   *
- * . It supports V1.
- * . It writes instead of reads to fill the page cache. Because no
+ * - It supports V1.
+ * - It writes instead of reads to fill the page cache. Because no
   *   pages were allocated on tmpfs.
- * . It runs on most filesystems available
- * . On EXFAT and extN we change the margin of error between all and file
+ * - It runs on most filesystems available
+ * - On EXFAT and extN we change the margin of error between all and file
   *   memory to 50%. Because these allocate non-page-cache memory during writes.
   */
  #define _GNU_SOURCE
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp