Closed leonstack closed 10 years ago
@ldoktor @lmr Another test for memory resource control test. If you have time, please review this one:)
@ldoktor If you have time.please review this simple pullreq.
Hi Li, sorry for a late review. I found few issues according this test. Please put the C code outside the python code. It's not a good practice to mix them. Additionally please take a look on the few typo/modifications I stated there.
The whole test works fine.
I agree with @ldoktor , it's not good practice indeed. So, can we advance in this pull request?
@ldoktor @ruda Sorry for my late response...I will fix the issues you mentioned next week, this week I have to do some other busy work :(
np., we all have other things to do...
@ldoktor Thanks for your suggestion, now I fixed them and separate C file from code.
Rebased and pushed to next, thanks!
1.Set limit memory to 60M 2.Execute a process in cgroup, malloc 50M, and confirm the memory information in cgroup 3.Execute a process in cgroup, malloc 70M, and confirm the memory information in cgroup
Signed-off-by: Li Yang liyang.fnst@cn.fujitsu.com