Re: [PATCH] memcg: add per cgroup dirty page accounting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 9, 2015 at 9:52 AM, Tejun Heo <tj@xxxxxxxxxx> wrote:
> Hello, Greg.
>
> On Sun, Mar 08, 2015 at 09:50:32PM -0700, Greg Thelen wrote:
>> When modifying PG_Dirty on cached file pages, update the new
>> MEM_CGROUP_STAT_DIRTY counter.  This is done in the same places where
>> global NR_FILE_DIRTY is managed.  The new memcg stat is visible in the
>> per memcg memory.stat cgroupfs file.  The most recent past attempt at
>> this was http://thread.gmane.org/gmane.linux.kernel.cgroups/8632
>
> Awesome.  I had a similar but inferior (haven't noticed the irqsave
> problem) patch in my series.  Replaced that with this one.  I'm
> getting ready to post the v2 of the cgroup writeback patchset.  Do you
> mind routing this patch together in the patchset?

I don't object to routing this patch with the larger writeback series.
But I do have small concern that merging the writeback series might
take a while and this patch has independent value.  For now, I'd say:
go for it.  If the series gets stalled we might want to split it off.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]