Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1381995imd; Sun, 4 Nov 2018 01:16:58 -0800 (PST) X-Google-Smtp-Source: AJdET5dWsbIKjw/fdnJt5lhQgDgD7wuaKXsO5qyRUdBN3VaCnRjBKPa3F9zvwNj35MsMba+jZRgB X-Received: by 2002:a62:56dd:: with SMTP id h90-v6mr8144432pfj.225.1541323018463; Sun, 04 Nov 2018 01:16:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541323018; cv=none; d=google.com; s=arc-20160816; b=F5ni1HzkH7mp3/YVYyMrQOQ8tU3mQWv7mIrf2RuOUOIdLkmLfy1r52CRpZJpRxvFq8 FLFFMcI/t2SoPWZobT8YygU5gkPfQHA4xhmko8F3n+/L27sUmFfRhLHMvd6Xb70PBh21 tIowFYnMr/lkpGXomgJPv5xiLCH+4mRQ7KxqKSTsGNRq03yJCNRQQaP9ZzZkTL2oxcaz TdKaFwHGAYWKHQFaD5kZT102bnvYlLpTTCmwJ64JjOwRdxIcQVNBUv/7OgP/iK5yNVZz wirf9zCxGu3PELeuOe8kzVQ99SG1yzpK2unQJ8p5R+wY1jAF7F4YuJHT7b2Rvk5JYqeS ehLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date; bh=AFVH+oVUC0AyOyh4I6AC8Tdu2u7hGCEHq42pDxMYmwM=; b=f9WIgWIrHusRfCTHfKSJUXIJ4HYQk8VSeA7NAOxhCsMcryDk91bppnJVOj33T4D0qh +rnB2pg+li7uTY8SAEE6WZbuwhz/0eE8ddkk+GTPS5n9jNOBMdTn3bNaD9QQtL7Q3EkX XSRFwWPuRMvoNY6n2iRjuBzPMrddfsGwHiBuWZPRtplvQc90WpSmVDZba48qN3pWTjGD bW1WmNvmAS9XACC7VAb/6V9Z+Oq9VOPaiVxLBGIDDpBOioUjSe4nuT53acZldjo1Ip60 YevCg7o1r9NHSrYL38/sI1GPV4q7sRSuuTeUqf5QC85G5hZZ0Mp1hWbxbY+q6xjdzlJN gbuw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g13-v6si6062839plo.68.2018.11.04.01.16.43; Sun, 04 Nov 2018 01:16:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729223AbeKDSai (ORCPT + 99 others); Sun, 4 Nov 2018 13:30:38 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:46796 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726486AbeKDSai (ORCPT ); Sun, 4 Nov 2018 13:30:38 -0500 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id wA498kvF030537 for ; Sun, 4 Nov 2018 04:16:21 -0500 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 2nhrvdgbdy-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 04 Nov 2018 04:16:21 -0500 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 4 Nov 2018 09:16:19 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp02.uk.ibm.com (192.168.101.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Sun, 4 Nov 2018 09:16:16 -0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id wA49GFVN59834442 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 4 Nov 2018 09:16:15 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E44EDA4051; Sun, 4 Nov 2018 09:16:14 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DB1CEA404D; Sun, 4 Nov 2018 09:16:13 +0000 (GMT) Received: from rapoport-lnx (unknown [9.148.8.72]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Sun, 4 Nov 2018 09:16:13 +0000 (GMT) Date: Sun, 4 Nov 2018 11:16:12 +0200 From: Mike Rapoport To: Sasha Levin Cc: Dexuan Cui , Roman Gushchin , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Kernel Team , Shakeel Butt , Michal Hocko , Johannes Weiner , Tejun Heo , Rik van Riel , Konstantin Khlebnikov , Matthew Wilcox , "Stable@vger.kernel.org" Subject: Re: Will the recent memory leak fixes be backported to longterm kernels? References: <20181102005816.GA10297@tower.DHCP.thefacebook.com> <20181102160122.GH194472@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181102160122.GH194472@sasha-vm> User-Agent: Mutt/1.5.24 (2015-08-30) X-TM-AS-GCONF: 00 x-cbid: 18110409-0008-0000-0000-0000028AFC48 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18110409-0009-0000-0000-000021F52C48 Message-Id: <20181104091611.GC7829@rapoport-lnx> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-11-04_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1811040088 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 02, 2018 at 12:01:22PM -0400, Sasha Levin wrote: > On Fri, Nov 02, 2018 at 02:45:42AM +0000, Dexuan Cui wrote: > >>From: Roman Gushchin > >>Sent: Thursday, November 1, 2018 17:58 > >> > >>On Fri, Nov 02, 2018 at 12:16:02AM +0000, Dexuan Cui wrote: > >>Hello, Dexuan! > >> > >>A couple of issues has been revealed recently, here are fixes > >>(hashes are from the next tree): > >> > >>5f4b04528b5f mm: don't reclaim inodes with many attached pages > >>5a03b371ad6a mm: handle no memcg case in memcg_kmem_charge() > >>properly > >> > >>These two patches should be added to the serie. > > > >Thanks for the new info! > > > >>Re stable backporting, I'd really wait for some time. Memory reclaim is a > >>quite complex and fragile area, so even if patches are correct by themselves, > >>they can easily cause a regression by revealing some other issues (as it was > >>with the inode reclaim case). > > > >I totally agree. I'm now just wondering if there is any temporary workaround, > >even if that means we have to run the kernel with some features disabled or > >with a suboptimal performance? > > I'm not sure what workload you're seeing it on, but if you could merge > these 7 patches and see that it solves the problem you're seeing and > doesn't cause any regressions it'll be a useful test for the rest of us. AFAIK, with Roman's patches backported to Ubuntu version of 4.15, the problem reported at [1] is solved. [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792349 > -- > Thanks, > Sasha > -- Sincerely yours, Mike.