OpenVZ Forum


Home » Mailing lists » Devel » [RFC}[PATCH] forced uncharge for successful rmdir.
Re: [RFC}[PATCH] forced uncharge for successful rmdir. [message #20871 is a reply to message #20869] Thu, 27 September 2007 08:15 Go to previous messageGo to previous message
Balbir Singh is currently offline  Balbir Singh
Messages: 491
Registered: August 2006
Senior Member
KAMEZAWA Hiroyuki wrote:
> Following patch is for successful rmdir in memory cgroup.
> 
> Currently, rmdir against memory cgroup will fail if charged page caches are in cgroup.
> (even if no tasks in cgroup.)
> 
> I don't like this. This patch implements "forced" uncharge against memory cgroup.
> Uncharged pages will be charged again when some other cgroup/task accesses it.
> 
> I wonder that all unmapped page-caches in cgroup should be uncharged if "1" is written to
> control_type.
> 
> I'm grad if I can hear memory controller's policy about "rmdir" against no-task-cgroup.
> 
> Thanks,
> -Kame

Hi, Kamezawa-San,

Thanks for looking into this, I am traveling. I'll review and respond
once I am back

-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 00/29] Rename Containers to Control Groups
Next Topic: [RFC][PATCH 0/2] New API to change the IDs of an existing IPC
Goto Forum:
  


Current Time: Fri Aug 22 17:35:54 GMT 2025

Total time taken to generate the page: 0.07873 seconds