Re: [PATCH 3/6] memcg: track shared inodes with dirty pages

From: Tejun Heo
Date: Thu Jan 15 2015 - 14:08:51 EST


Hello,

On Thu, Jan 15, 2015 at 11:04:49PM +0400, Konstantin Khlebnikov wrote:
> I know. Absolutely accurate per-page solution looks too complicated for me.
> Is there any real demand for accurate handling dirty set in shared inodes?
> Doing whole accounting in per-inode basis makes life so much easier.

Ah, yeah, patch #3 arrived in isolation, so I thought it was part of
something completely different. I definitely thought about doing it
per-inode too (and also requiring memcg to attribute pages according
to its inode rather than individual pages). I'll look into the
patchset and try to identify the pros and cons of our approaches.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/