OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] memcg: Do not open code accesses to res_counter members
Re: [PATCH] memcg: Do not open code accesses to res_counter members [message #45587 is a reply to message #45581] Wed, 21 March 2012 01:08 Go to previous messageGo to previous message
KAMEZAWA Hiroyuki is currently offline  KAMEZAWA Hiroyuki
Messages: 463
Registered: September 2006
Senior Member
(2012/03/21 1:53), Glauber Costa wrote:

> We should use the acessor res_counter_read_u64 for that.
> Although a purely cosmetic change is sometimes better of delayed,
> to avoid conflicting with other people's work, we are starting to
> have people touching this code as well, and reproducing the open
> code behavior because that's the standard =)
>
> Time to fix it, then.
>
> Signed-off-by: Glauber Costa <glommer@parallels.com>
> Cc: Johannes Weiner <hannes@cmpxchg.org>
> Cc: Michal Hocko <mhocko@suse.cz>
> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>


Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH] SUNRPC: register PipeFS file system after pernet sybsystem
Next Topic: [RFC 0/7] Initial proposal for faster res_counter updates
Goto Forum:
  


Current Time: Thu Jul 11 13:00:06 GMT 2024

Total time taken to generate the page: 0.02307 seconds