OK, got it.
Xiumiao Song From: Cyril Hrubis Date: 2015-08-05 20:16 To: Xiumiao Song CC: ltp-list@lists.sourceforge.net; wu...@inspur.com; Michal Hocko Subject: Re: [LTP] [PATCH] memcg_functinon: testcase_30 function Hi! > Testcase_30 function testing mem_cgroup_force_empty_write > function return -EBUSY,when there is a task in cgroup. > Namely when setting memory.force_empty,it will be failed. > However,kernel 3.16 and above do nothing, > whatever there is a task in cgroup or not. This has been fixed in git by: commit 5c3635d26929a00103f70a54365229449f71a217 Author: Michal Hocko <mho...@suse.cz> Date: Thu May 14 16:24:38 2015 +0200 controllers/memcg: fix force_empty testcase_29 and testcase_30 are no longer testing anything because the kernel allows to use force_empty even for memcgs with active tasks since f61c42a7d911 ("memcg: remove tasks/children test from mem_cgroup_force_empty()) kernel commit. If we really want to test this functionality then just expect the success for regular mmap and expect the failure when the charged memory is mlocked. Signed-off-by: Michal Hocko <mho...@suse.cz> Signed-off-by: Cyril Hrubis <chru...@suse.cz> -- Cyril Hrubis chru...@suse.cz
------------------------------------------------------------------------------
_______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list