Hi! > Signed-off-by: Michal Hocko <miso@xxxxxxxxxxxxxx> ^ forgotten git config user.email? > --- > testcases/kernel/controllers/memcg/functional/memcg_function_test.sh | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/testcases/kernel/controllers/memcg/functional/memcg_function_test.sh b/testcases/kernel/controllers/memcg/functional/memcg_function_test.sh > index cfc75fa730df..399c5614468a 100755 > --- a/testcases/kernel/controllers/memcg/functional/memcg_function_test.sh > +++ b/testcases/kernel/controllers/memcg/functional/memcg_function_test.sh > @@ -211,8 +211,8 @@ testcase_29() > echo $pid > tasks > kill -s USR1 $pid 2> /dev/null > sleep 1 > - echo $pid > ../tasks This change breaks the testcase on older kernels: ./memcg_function_test.sh: line 215: echo: write error: Device or resource busy memcg_function_test 29 TFAIL : ltpapicmd.c:190: force memory failed $ uname -r 3.0.101-0.35-default > + # This expects that there is swap configured > echo 1 > memory.force_empty > if [ $? -eq 0 ]; then > result $PASS "force memory succeeded" > @@ -225,7 +225,7 @@ testcase_29() > > testcase_30() > { > - $TEST_PATH/memcg_process --mmap-anon -s $PAGESIZE & > + $TEST_PATH/memcg_process --mmap-lock2 -s $PAGESIZE & > pid=$! > sleep 1 > echo $pid > tasks This part is OK. -- Cyril Hrubis chrubis@xxxxxxx -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>