Hi! > --- a/testcases/kernel/controllers/memcg/functional/memcg_function_test.sh > +++ b/testcases/kernel/controllers/memcg/functional/memcg_function_test.sh > @@ -158,17 +158,12 @@ testcase_21() > # Case 22 - 24: Test limit_in_bytes will be aligned to PAGESIZE > testcase_22() > { > - test_limit_in_bytes $((PAGESIZE-1)) $PAGESIZE 0 > + test_limit_in_bytes $((PAGESIZE-1)) 0 0 > } > > testcase_23() > { > - test_limit_in_bytes $((PAGESIZE+1)) $((PAGESIZE*2)) 0 > -} > - > -testcase_24() > -{ > - test_limit_in_bytes 1 $PAGESIZE 0 > + test_limit_in_bytes $((PAGESIZE+1)) $((PAGESIZE)) 0 > } That would fail on older kernels without the patch, woudln't it? If we are going to fix it, we should do that in backward compatible fashion. So either we modify the testcases to accept both rounding up and rounding down or choose what we expect based on kernel version. -- Cyril Hrubis chrubis@xxxxxxx -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html