Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp437447ybj; Tue, 5 May 2020 01:13:55 -0700 (PDT) X-Google-Smtp-Source: APiQypJvg1HnMXFacDy4SsVUujlrk9jq/tJhJ+lzwnJ9TUI0jG5VZCePtKRfwPSsTO+E1J7dOUT2 X-Received: by 2002:aa7:c453:: with SMTP id n19mr1524816edr.218.1588666435533; Tue, 05 May 2020 01:13:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588666435; cv=none; d=google.com; s=arc-20160816; b=iRbmrKwoq9VkkclQFKzhqywmDjdWdqmOWGnjiYEGclPVnP40TXePMegn7bx7M+RphB FmEaHnwqYkhgjA/Svc1mUjWH5CHcNVa1dIYOUE5SBvw3CyVcBmnK1K7g5GzqcUgcCxJb v+31SFzH0w6oZ/884jnMj6yVvDhVGynfzgmwkAba80JWNGXcVMHiC7F38BB++a5N83Ge vGoMfcbtUiEAj8+CLP1K74dLBMYtleMP4hLiBhdyD7njdsW5m4LndfGdQAmNttAdqmmp NtXwxUTaklzgoi0JXblrwME4C0g88Gv4Yo4bBHSRQjlOgRHHCyfmH+LxYzcIsQ0g6NK0 Yn5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:in-reply-to:message-id:date :subject:cc:to:from:ironport-sdr:dkim-signature; bh=CWbeNyZVYb77+f9+ECjqappEP6OpT02jOEzU/LtCItI=; b=JHd8Tzsgn/uSvkAO5jixSIT+b6jX0Nr8lrdjx/d8zd1+GhuRex1TXMU4BKTcoc2+Mr 6UnBk6pPwi054kTqux7/4GQxKiiSUTYRgPdiof+gTW0jBTVM7pFM1dgvSNL/MXPTAhAr SJ2w3uf8Snwf9BJLwPl+wycPnDySWSm8YLbsiWJtp7si1YRTwukVJMI0Jy37bEZn2HOY D8OFimg0tbdulotFD1LdhKXalosX0cRh5iSLVD9xucXpyChIt+FCm7hQDfwHGEcMJBlh K0yu2YCjhSdGaD4T59YTU4h6gJJWu5fvWLeerMiZtgISfDRrLscJ8hyMxq6YWpypfdMP 3IZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=FS9isCQb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y24si842255edr.273.2020.05.05.01.13.32; Tue, 05 May 2020 01:13:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=FS9isCQb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728453AbgEEIKA (ORCPT + 99 others); Tue, 5 May 2020 04:10:00 -0400 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:40924 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725320AbgEEIKA (ORCPT ); Tue, 5 May 2020 04:10:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1588666200; x=1620202200; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=CWbeNyZVYb77+f9+ECjqappEP6OpT02jOEzU/LtCItI=; b=FS9isCQbg4Rw0Lod4l2B9OnOHpTwUHYDK6co14b/e1oLIxYB8TG1JYdE 8Yu8tb9rNzBcuF2PX+qlDz2n1QLxrnMtcn1nA4TofSmaEDLTmJVd3NPXT qFF+SAC7+mtE31rQf3nXN6EZynMIGKt9n4BAsVZbuwtCDJ71wrY5S2fkJ 4=; IronPort-SDR: /J2FYKAaa9IUpOlccLWMPcjUXk3g/hhkLxhHJv45rLi4gJmN7uWzPSKx6zf3ntrMFAlqSyhKJX /ll1Q4O3DxMQ== X-IronPort-AV: E=Sophos;i="5.73,354,1583193600"; d="scan'208";a="28772447" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1a-67b371d8.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-4101.iad4.amazon.com with ESMTP; 05 May 2020 08:09:47 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1a-67b371d8.us-east-1.amazon.com (Postfix) with ESMTPS id AB73BA1D37; Tue, 5 May 2020 08:09:44 +0000 (UTC) Received: from EX13D31EUA001.ant.amazon.com (10.43.165.15) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 5 May 2020 08:09:44 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.162.200) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 5 May 2020 08:09:39 +0000 From: SeongJae Park To: Greg KH CC: SeongJae Park , , , , , , , SeongJae Park Subject: Re: Re: [PATCH net 2/2] Revert "sockfs: switch to ->free_inode()" Date: Tue, 5 May 2020 10:09:23 +0200 Message-ID: <20200505080923.6970-1-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200505074535.GB4054974@kroah.com> (raw) MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.162.200] X-ClientProxiedBy: EX13D25UWB003.ant.amazon.com (10.43.161.33) To EX13D31EUA001.ant.amazon.com (10.43.165.15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 5 May 2020 09:45:35 +0200 Greg KH wrote: > On Tue, May 05, 2020 at 09:28:41AM +0200, SeongJae Park wrote: > > From: SeongJae Park > > > > This reverts commit 6d7855c54e1e269275d7c504f8f62a0b7a5b3f18. > > > > The commit 6d7855c54e1e ("sockfs: switch to ->free_inode()") made the > > deallocation of 'socket_alloc' to be done asynchronously using RCU, as > > same to 'sock.wq'. > > > > The change made 'socket_alloc' live longer than before. As a result, > > user programs intensively repeating allocations and deallocations of > > sockets could cause memory pressure on recent kernels. > > > > To avoid the problem, this commit reverts the change. > > --- > > net/socket.c | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > Same problems here as in patch 1/2 :( Yes, indeed. I will send next version right now. Thanks, SeongJae Park >