From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB522C433EF for ; Sun, 3 Jul 2022 23:35:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 424376B0074; Sun, 3 Jul 2022 19:35:37 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3D3E16B0075; Sun, 3 Jul 2022 19:35:37 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2C3748E0001; Sun, 3 Jul 2022 19:35:37 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 1CFAD6B0074 for ; Sun, 3 Jul 2022 19:35:37 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id D104634F03 for ; Sun, 3 Jul 2022 23:35:36 +0000 (UTC) X-FDA: 79647397872.06.A2877B0 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf16.hostedemail.com (Postfix) with ESMTP id 54178180079 for ; Sun, 3 Jul 2022 23:35:35 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 581D2B80CE7; Sun, 3 Jul 2022 23:35:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B843BC341C6; Sun, 3 Jul 2022 23:35:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1656891332; bh=HZril8bI8S7GwL97fvRQZecdLwnEvyV43EQQe4DOpCw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=opkLcsOPDkzd81C0RtLgvAyPDNTJ3CJDvP3+isfxMImLJAmJ3pYWMz1T8TRxS2hy3 KG75/iGZ2NcV1Qp9GTlASlgxpp1gjaQaVgscixYacs9mZBGQON0VwSdxImVN4Ssuii SxxDzYI1DmakLx+r+Zs4yEbKvgt+fixkoxQBsMqc= Date: Sun, 3 Jul 2022 16:35:31 -0700 From: Andrew Morton To: Yu Zhao Cc: Mel Gorman , Nicolas Saenz Julienne , Marcelo Tosatti , Vlastimil Babka , Michal Hocko , Hugh Dickins , Marek Szyprowski , LKML , Linux-MM Subject: Re: [PATCH v5 00/7] Drain remote per-cpu directly Message-Id: <20220703163531.beed10c723f1c74a9001573c@linux-foundation.org> In-Reply-To: References: <20220624125423.6126-1-mgorman@techsingularity.net> <20220703162821.f097d6e4b3e2a0114820a8d9@linux-foundation.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1656891335; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=1P8/Q78HutngQLDVF0+WeVp5Tfo7jS5ZgakZEOPxW2I=; b=a95U3pk9+Gu3mMWirFXRb8TWNSFKoZLO76+Puqr1YARqbuYme3Fg7MO/CqPDHoAjp00MRl useAS8ud0+Ms7cScw1bSd+hLZvh+OaCsvq0MgcUmHWpIc3RZ0u/3JFsOdzBmaXHh42/zJI /+QOqIz6UHl4/IOJTE6mvuPv+J/khIw= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1656891335; a=rsa-sha256; cv=none; b=M+crYkD97irvcDobrjk4pqcaSzy7Oiq88X/QQNoCrQ6XtacLmkmYc5CpZm6sv46EttIxJ1 fSHWm9DxP2PwPB++htNX/OvDGY3K5X/Uo/U/IJ23ywpVnUsb2hV7c1plj0K5FfMkx5ff/a ZqVyA1ejzBQEmU+vJcHgGMTXLWPBFM4= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=opkLcsOP; dmarc=none; spf=pass (imf16.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=opkLcsOP; dmarc=none; spf=pass (imf16.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-Rspamd-Server: rspam03 X-Rspam-User: X-Stat-Signature: r3hr3dg4nnqjumie4ktd75es7fffnuge X-Rspamd-Queue-Id: 54178180079 X-HE-Tag: 1656891335-865138 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sun, 3 Jul 2022 17:31:09 -0600 Yu Zhao wrote: > > > This series adjusts the locking. A spinlock is added to struct > > > per_cpu_pages to protect the list contents while local_lock_irq is > > > ultimately replaced by just the spinlock in the final patch. This allows > > > a remote CPU to safely. Follow-on work should allow the spin_lock_irqsave > > > to be converted to spin_lock to avoid IRQs being disabled/enabled in > > > most cases. The follow-on patch will be one kernel release later as it > > > is relatively high risk and it'll make bisections more clear if there > > > are any problems. > > > > I plan to move this and Mel's fix to [7/7] into mm-stable around July 8. > > I've thrown it together with the Maple Tree and passed a series of stress tests. Cool, thanks. I added your Tested-by: to everything.