Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1654569ybi; Fri, 12 Jul 2019 21:18:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkMgNQW8/4t8Fo8mpUtwWs8WmtSU5ntKigU8gcwIw2suT3ILYICUh5g+wzvOuF7DSqCI/f X-Received: by 2002:a17:90b:d82:: with SMTP id bg2mr16415737pjb.87.1562991492605; Fri, 12 Jul 2019 21:18:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562991492; cv=none; d=google.com; s=arc-20160816; b=R3xks29zBWhcBWHdD38O33vgSqZDuLVpLMkKZzJ5OBdjTiws/QBTAWgcfJANNWkZjS Lo5TUMTkU2RgPT8orPC0rLX0YivdVd0vrcdMbFkchTc1Su/wf23hi6gv3ygebR6qi1Q+ fEXPXlsUsAS60wHWEhzgjLYixwwRpNHNgynPtzxGdD7GqSXVSs+y8TQXlwFMlgtwn2vP COPrAP7SR2vv3hrCyURq5dY+8u6Wx5z3KRqt8tvdQVfjXi+Zkpvx8F4N8m/OknRlA85/ nLV7QSRHCofqK/UjGDo2DPq1FRozx7+t6UjVzXPjaxY17XNmDcyLu/Ra5N6cYLdeCY/P 5FpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=IZTj4o3sxVMCsyfX3m8CbohJzz9KCaUXTlmAkCHs5I0=; b=gJ1WqJDoJF022LWOPfrLN8Ut9EXE8bXRn1vbBjbMgMAaK60bXIuhNsufl7DBw5VyL7 JGaTOssLUQylleg+RDryqDUfmZ6geJhqt+I/7vjKZbxp+9OzJd3BFkjWLYK12sV/IGyi Eew0RoaMTubCZ5Wx2jex9MeWh/Dz8YMFddZ2Cny4ZaMMdlNe1zG26XsTMpEtk0UMtyLp 4MrjckngmudYUSZtInZCNgQ8/rN1cs6UQMpxAsHlpE/yrCQ+dWbhoOcM9Fua87xCVZrc W6tw7rLD1iNeg4CJ7kj0kAXRu6ipWyVo3n68xRie/uDw/RDLl3O1nikZ493EwMxUA4+y EMOQ== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 70si9820999pla.2.2019.07.12.21.17.57; Fri, 12 Jul 2019 21:18:12 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726383AbfGMERi (ORCPT + 99 others); Sat, 13 Jul 2019 00:17:38 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:41081 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725916AbfGMERi (ORCPT ); Sat, 13 Jul 2019 00:17:38 -0400 Received: by mail-qt1-f195.google.com with SMTP id d17so10346588qtj.8 for ; Fri, 12 Jul 2019 21:17:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=IZTj4o3sxVMCsyfX3m8CbohJzz9KCaUXTlmAkCHs5I0=; b=jvyVLePiuMQFoAVCJhpzWHI3T8BlMnqFfvxpbke/BKgcOKsBG9DJHuDx6dwAjr09XA nVQJq9UpAwIkw5IKP/YIytnyJtNjNawJg4oh1CBKMicnld8XDZkXSWS4Zg6cEW4//vK7 997SUPAlD5N5ZrMNa4alYRlm9sSR/BqJNilcnRJyhCQQh3JxXbrS9iqmmEdeecw0rzFz 51GJDsdDz3x+rN5uNJreSwCnEhPZVyy7/EAlXEx/5iWLpHqyYjSr0IC3ePEMzO2mqfKA RhO3HbtQGxLsNACHcktxbegm+E4ayvmQGT+PhmG7MbP1DfwY57xUddoezCGWW5lFCyWH mX/w== X-Gm-Message-State: APjAAAUmEUmqvOOWI3yx1Fl/XbggmDSHuQWAInE6XN16n7cgtSW6ntup WoVub2rW4NiOobPCpE3uZ1M= X-Received: by 2002:ac8:27db:: with SMTP id x27mr9635952qtx.4.1562991457525; Fri, 12 Jul 2019 21:17:37 -0700 (PDT) Received: from dennisz-mbp.dhcp.thefacebook.com ([2620:10d:c091:480::da5d]) by smtp.gmail.com with ESMTPSA id n18sm4379525qtr.28.2019.07.12.21.17.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jul 2019 21:17:36 -0700 (PDT) Date: Sat, 13 Jul 2019 00:17:33 -0400 From: Dennis Zhou To: Linus Torvalds Cc: Tejun Heo , Christoph Lameter , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] percpu changes for v5.3-rc1 Message-ID: <20190713041733.GA80860@dennisz-mbp.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, This pull request includes changes to let percpu_ref release the backing percpu memory earlier after it has been switched to atomic in cases where the percpu ref is not revived. This will help recycle percpu memory earlier in cases where the refcounts are pinned for prolonged periods of time. Thanks, Dennis The following changes since commit e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd: Linux 5.1 (2019-05-05 17:42:58 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git for-5.3 for you to fetch changes up to 7d9ab9b6adffd9c474c1274acb5f6208f9a09cf3: percpu_ref: release percpu memory early without PERCPU_REF_ALLOW_REINIT (2019-05-09 10:51:06 -0700) ---------------------------------------------------------------- Roman Gushchin (4): percpu_ref: introduce PERCPU_REF_ALLOW_REINIT flag io_uring: initialize percpu refcounters using PERCU_REF_ALLOW_REINIT md: initialize percpu refcounters using PERCU_REF_ALLOW_REINIT percpu_ref: release percpu memory early without PERCPU_REF_ALLOW_REINIT drivers/md/md.c | 3 ++- fs/io_uring.c | 3 ++- include/linux/percpu-refcount.h | 10 +++++++++- lib/percpu-refcount.c | 13 +++++++++++-- 4 files changed, 24 insertions(+), 5 deletions(-)