Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2296805imd; Fri, 2 Nov 2018 09:02:46 -0700 (PDT) X-Google-Smtp-Source: AJdET5c3EVyvokq0oBzPCKy7GJwqbHl48ugpn6gDm8iTtjHAUOZ6ecJsyiiwlSwOMsj9ltkJ8wou X-Received: by 2002:a17:902:f01:: with SMTP id 1-v6mr12361246ply.8.1541174566057; Fri, 02 Nov 2018 09:02:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541174566; cv=none; d=google.com; s=arc-20160816; b=j3Ddft2Giq3r7gPHVyM8uqry+NEQwUPrt2ZuwKcTxqbWV53yt8JurO847p5UR7Er67 Dp3CSbCvusCsL+fbPaL11bhLB6jYgIN68lW9S7gaUWTsnSBvCu98t5891BHN/sMtUHnB K2EegeJ7g+6oBZeYrzPFQSiS/ugpLjbREjGT65QuRzLnCy7fxqeeWf3uB3MTpGUJxRnY TewQjLGnv/wnDuq9xlzS54d7+iLjz4bJDmW7GZ6d2vH7ijK8zdvJ8B14njI+r8A32/AA NyibtSv+ZOCcHCkLIyBA/f8P0NEAND9li9ZxeV9TaITbtJKnthOKHAtaj5qwh03BvyQu nLfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fOyl0oaxqYmvNxHTm2OzvPAlu4VK2wP0N6wscGp8XWk=; b=IbgRvqDqjHXjh1kCKjJ9ndcY433PL4Z8Igi8oiZdAIlrd08qN7E5oienLT/G0T3Da2 ay3UDoVsRweGYD4//OSuRvQLwb3yjhjcHwV/VHClgk5rDvA6hwjyC3dI6tqPops2yZ/U VNPscq+Ue/9yzJZkN4Mu87gyL2pHlFqbH40MS3VmaM6/Yqxg9SsEJ/Ykdhn5viC9eYNg vhvPdSY2cL39BSbEITX+wIbc5iXz89QN8IrjqG/UMQ4xt/yqY1v+Py6rR8J7ryTAJvLl 4xFKsvTJfbJK2CNGhb37vh9B9dRE7ij27+0S3f+GqNcGTrwQcVhQS/m/RAlHLZ8OHEKs lJvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aO5JXMMk; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c41-v6si22520856plj.194.2018.11.02.09.02.30; Fri, 02 Nov 2018 09:02:46 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=aO5JXMMk; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727772AbeKCBJI (ORCPT + 99 others); Fri, 2 Nov 2018 21:09:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:55512 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726260AbeKCBJI (ORCPT ); Fri, 2 Nov 2018 21:09:08 -0400 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A27CD20657; Fri, 2 Nov 2018 16:01:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541174493; bh=fOyl0oaxqYmvNxHTm2OzvPAlu4VK2wP0N6wscGp8XWk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aO5JXMMkcke4nfwHMWWc8gZ30ELyMCcA7zHXb/vJKKfPRlSjUK7CH/+Gt+CqDlnWh VK97N6+bfcpx+ZOq9gKhHIB+8rrQHB3pJNMFuFbeUcbmnrLdMpT/IMfeUa4PpP6jtE 5JcLr607IQQUWKLjrTBEnb77FFva1EJir2ijzKyg= Date: Fri, 2 Nov 2018 12:01:22 -0400 From: Sasha Levin To: Dexuan Cui Cc: 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? Message-ID: <20181102160122.GH194472@sasha-vm> References: <20181102005816.GA10297@tower.DHCP.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) 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 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. -- Thanks, Sasha