----- Original Message -----
> From: "Peng Haitao" <[email protected]>
> To: "Cyril Hrubis" <[email protected]>, "Garrett Cooper" <[email protected]>
> Cc: "LTP List" <[email protected]>
> Sent: Tuesday, January 17, 2012 4:56:35 AM
> Subject: [LTP] [PATCH 1/8] A library used to test memcg

Hi,

> +     echo $1 > memory.limit_in_bytes
> +     if [ -z "$4" -a $4 -eq 1 ]; then
> +             echo $1 > memory.memsw.limit_in_bytes
> +     fi
> +

1. Can this condition ever be true?
2. memory.memsw.limit_in_bytes does not exist unless
CONFIG_CGROUP_MEM_RES_CTLR_SWAP_ENABLED is set.
Looking at RHEL6 and Fedora16 I believe it's off, because
"memory.memsw.limit_in_bytes" is not present.

I ran memcg_function_test.sh with your patch (2/8) in loop
during lunch, all passed (kvm, RHEL6, 2.6.32-155.el6.x86_64).

Regards,
Jan

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to