linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* containers: how to limit pagecache size?
@ 2015-10-09  6:49 Yuzhou
  2015-10-12 15:12 ` Michal Hocko
  0 siblings, 1 reply; 2+ messages in thread
From: Yuzhou @ 2015-10-09  6:49 UTC (permalink / raw)
  To: linux-kernel, linux-mm; +Cc: svaidy

Hi, all

How to limit and reclaim container's pagecache?

Thanks,
Zhang Haoyu


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: containers: how to limit pagecache size?
  2015-10-09  6:49 containers: how to limit pagecache size? Yuzhou
@ 2015-10-12 15:12 ` Michal Hocko
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Hocko @ 2015-10-12 15:12 UTC (permalink / raw)
  To: Yuzhou; +Cc: linux-kernel, linux-mm, svaidy

On Fri 09-10-15 14:49:09, Yuzhou wrote:
> Hi, all
> 
> How to limit and reclaim container's pagecache?

There is no way to reclaim only the page cache. What you can do is to
put excessive page cache consumers into a separate memory cgroup and
limit them that way.
-- 
Michal Hocko
SUSE Labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-12 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-09  6:49 containers: how to limit pagecache size? Yuzhou
2015-10-12 15:12 ` Michal Hocko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).