From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:41068 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728547AbeHMUV1 (ORCPT ); Mon, 13 Aug 2018 16:21:27 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w7DHXhMs010522 for ; Mon, 13 Aug 2018 13:38:14 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 2kuc50pne5-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 13 Aug 2018 13:38:14 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 13 Aug 2018 18:38:13 +0100 Date: Mon, 13 Aug 2018 20:38:08 +0300 From: Mike Rapoport To: Greg KH Cc: stable@vger.kernel.org, James Bottomley Subject: Re: [PATCH 0/3 stable 4.9] proc/sysctl: prune stale dentries during unregistering References: <1534151298-32258-1-git-send-email-rppt@linux.vnet.ibm.com> <20180813092325.GB6381@kroah.com> <20180813100423.GC769@rapoport-lnx> <20180813171312.GA24864@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180813171312.GA24864@kroah.com> Message-Id: <20180813173807.GA5467@rapoport-lnx> Sender: stable-owner@vger.kernel.org List-ID: On Mon, Aug 13, 2018 at 07:13:12PM +0200, Greg KH wrote: > On Mon, Aug 13, 2018 at 01:04:24PM +0300, Mike Rapoport wrote: > > On Mon, Aug 13, 2018 at 11:23:25AM +0200, Greg KH wrote: > > > On Mon, Aug 13, 2018 at 12:08:15PM +0300, Mike Rapoport wrote: > > > > Hi, > > > > > > > > These patches fix a memory leak in per-cpu areas in v4.9.y > > > > > > > > The following command sequence > > > > > > > > while :; do > > > > c=$(docker create busybox) > > > > docker start $c > > > > docker stop $c > > > > docker rm $c > > > > done > > > > > > > > causes the number of pcpu_get_vm_area entries in /proc/vmallocinfo to grow. > > > > > > > > The commit d6cffbbe9a7e ("proc/sysctl: prune stale dentries during > > > > unregistering") fixes the issue and the commits ace0c791e6c3 ("proc/sysctl: > > > > Don't grab i_lock under sysctl_lock.") and 2fd1d2c4ceb2 ("proc: Fix > > > > proc_sys_prune_dcache to hold a sb reference") are the follow-up fixups. > > > > > > > > I've also checked v4.4 and the issue does not appear there. > > > > > > > > Eric W. Biederman (2): > > > > proc/sysctl: Don't grab i_lock under sysctl_lock. > > > > proc: Fix proc_sys_prune_dcache to hold a sb reference > > > > > > > > Konstantin Khlebnikov (1): > > > > proc/sysctl: prune stale dentries during unregistering > > > > > > What is the git commit ids of these patches that are in Linus's tree? I > > > need those to be able to apply this. > > > > d6cffbbe9a7e ("proc/sysctl: prune stale dentries during unregistering") > > ace0c791e6c3 ("proc/sysctl: Don't grab i_lock under sysctl_lock.") > > 2fd1d2c4ceb2 ("proc: Fix proc_sys_prune_dcache to hold a sb reference") > > Thanks, now queued up. Any reason why you did not sign off on the > backports? They've applied cleanly, I didn't really work in the backporting, only on the bisecting :) > greg k-h > -- Sincerely yours, Mike.