[LTP] [PATCH] mem/overcommit_memory.c: Fix "CommitLimit < Committed_AS" error in some situations
Petr Vorel
pvorel@suse.cz
Thu Dec 20 13:03:26 CET 2018
Hi Xiao, Cristian,
> Any chance this reviewed/fixed patch will be merged soon ?
Thanks for pointing out. Pushed, with following diff bellow.
(TCONF is for <=, not <).
> Thanks
> Cristian
Kind regards,
Petr
diff --git testcases/kernel/mem/tunable/overcommit_memory.c testcases/kernel/mem/tunable/overcommit_memory.c
index b92232b8d..07f824328 100644
--- testcases/kernel/mem/tunable/overcommit_memory.c
+++ testcases/kernel/mem/tunable/overcommit_memory.c
@@ -243,9 +243,9 @@ static void update_mem_commit(void)
"CommitLimit < Committed_AS");
}
- tst_brk(TCONF, "Specified overcommit_ratio %ld < default %ld, "
- "so it's possible for CommitLimit < Committed_AS and "
- "skip test", overcommit_ratio, old_overcommit_ratio);
+ tst_brk(TCONF, "Specified overcommit_ratio %ld <= default %ld, "
+ "so it's possible for CommitLimit < Committed_AS and skip test",
+ overcommit_ratio, old_overcommit_ratio);
}
}
More information about the ltp
mailing list