Thread (29 messages) 29 messages, 4 authors, 2012-04-03

Re: [PATCH 07/12] memcg: always create memsw files if CONFIG_CGROUP_MEM_RES_CTLR_SWAP

From: KAMEZAWA Hiroyuki <hidden>
Date: 2012-03-22 00:24:56
Also in: lkml

(2012/03/22 7:17), Tejun Heo wrote:
Instead of conditioning creation of memsw files on do_swap_account,
always create the files if compiled-in and fail read/write attempts
with -EOPNOTSUPP if !do_swap_account.

This is suggested by KAMEZAWA to simplify memcg file creation so that
it can use cgroup->subsys_cftypes.

Signed-off-by: Tejun Heo <redacted>
Cc: KAMEZAWA Hiroyuki <redacted>

seems O.K. to me.

Acked-by: KAMEZAWA Hiroyuki <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help