[LTP] [PATCH] memcontrol02: Fix the doc to fit RST format

Andrea Cervesato andrea.cervesato@suse.com
Wed Apr 16 11:35:50 CEST 2025


Hi Ma,

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

Thanks,
Andrea Cervesato

On 4/11/25 09:02, Ma Xinjian via ltp wrote:
> Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
> ---
>   testcases/kernel/controllers/memcg/memcontrol02.c | 9 +++++----
>   1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/testcases/kernel/controllers/memcg/memcontrol02.c b/testcases/kernel/controllers/memcg/memcontrol02.c
> index 2d47e5042..101b4e1bf 100644
> --- a/testcases/kernel/controllers/memcg/memcontrol02.c
> +++ b/testcases/kernel/controllers/memcg/memcontrol02.c
> @@ -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


More information about the ltp mailing list