Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1489892

Re: [PATCH] huge tmpfs: fix Committed_AS leak

From "Kirill A. Shutemov" <kirill@shutemov.name>
Newsgroups linux.kernel
Subject Re: [PATCH] huge tmpfs: fix Committed_AS leak
Date 2016-09-23 11:30 +0200
Message-ID <skuXU-1R8-19@gated-at.bofh.it> (permalink)
References <skhnX-1Bu-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Sep 22, 2016 at 10:37:03AM -0700, Hugh Dickins wrote:
> Under swapping load on huge tmpfs, /proc/meminfo's Committed_AS grows
> bigger and bigger: just a cosmetic issue for most users, but disabling
> for those who run without overcommit (/proc/sys/vm/overcommit_memory 2).
> 
> shmem_uncharge() was forgetting to unaccount __vm_enough_memory's charge,
> and shmem_charge() was forgetting it on the filesystem-full error path.
> 
> Fixes: 800d8c63b2e9 ("shmem: add huge pages support")
> Signed-off-by: Hugh Dickins <hughd@google.com>

Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

-- 
 Kirill A. Shutemov

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] huge tmpfs: fix Committed_AS leak Hugh Dickins <hughd@google.com> - 2016-09-22 21:00 +0200
  Re: [PATCH] huge tmpfs: fix Committed_AS leak "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-09-23 11:30 +0200

csiph-web