Re: [PATCH V3] nommu: add anonymous page memcg accounting
From: Balbir Singh
Date: Thu Oct 21 2010 - 23:53:15 EST
* Steven J. Magnani <steve@xxxxxxxxxxxxxxx> [2010-10-21 07:28:08]:
> Add the necessary calls to track VM anonymous page usage (only).
>
> V3 changes:
> * Use vma->vm_mm instead of current->mm when charging pages, for clarity
> * Document that reclaim is not possible with only anonymous page accounting
> so the OOM-killer is invoked when a limit is exceeded
> * Add TODO to implement file cache (reclaim) support or optimize away
> page_cgroup->lru
>
> V2 changes:
> * Added update of memory cgroup documentation
> * Clarify use of 'file' to distinguish anonymous mappings
>
> Signed-off-by: Steven J. Magnani <steve@xxxxxxxxxxxxxxx>
Acked-by: Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx>
BTW, I have no way of testing this, we need to rely on the NOMMU
community to test this.
--
Three Cheers,
Balbir
--
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/