[lkml]   [2018]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v1 1/1] mm/ksm: fix inconsistent accounting of zero pages
On Thu, Apr 05, 2018 at 02:27:54PM +0200, Claudio Imbrenda wrote:
> When using KSM with use_zero_pages, we replace anonymous pages
> containing only zeroes with actual zero pages, which are not anonymous.
> We need to do proper accounting of the mm counters, otherwise we will
> get wrong values in /proc and a BUG message in dmesg when tearing down
> the mm.
> Fixes: e86c59b1b1 ("mm/ksm: improve deduplication of zero pages with colouring")
> Signed-off-by: Claudio Imbrenda <>
> ---
> mm/ksm.c | 7 +++++++
> 1 file changed, 7 insertions(+)


This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
for how to do this properly.


 \ /
  Last update: 2018-04-05 15:50    [W:0.052 / U:6.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site