Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp382071pxb; Wed, 22 Sep 2021 04:30:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYrIizep5+IVlWLrvj+GVsH0284nrqbHuNfFRAv9UNO9gCxaWftu6dNy9pw0bT6Y4f5xoA X-Received: by 2002:a5d:9c56:: with SMTP id 22mr2417463iof.10.1632310200171; Wed, 22 Sep 2021 04:30:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632310200; cv=none; d=google.com; s=arc-20160816; b=TlzabSdMJ4hlRZGkLW235O/abcsrAXC0GK5gV0IU8Ybrf7GxIlv0Wwre1U6KWLSJQL faI8pXmIJO2fg3NssoDm2Ut4c9X2skNZpm0XcVmrtTrMJaHO4sIFS6GvPSfGRL2MT8qt 4gyUtlK8DR26HwdkebYhZ2hUYOc2YAf6FL7vPlTooIravT9PhldgU1+N1pTW9ex4eiPi VFjW4ydflNNdXbq9PrdWrcBE11mgKmtgqLRKhdwzulOEOrAd0h3B+Ki4ilqQg4oiyjgK 9/TE5L2xHka4PjFUQJPUt+X9Yw6kvs4sRgIDb6qY9qf778SxvYCpG4jqNUaI9dezOR7N 3AWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=D7ZSl4YWEnGCJruUgFbe6upY9ZIlVKrfq0rf1wn9qT4=; b=ZxgxUQSmn8zXjIY+ifWJoo96faeV/ASuJTXQyqU59hkcIZxrrEn8X3v+qOvl14xM2a W1leaH+CNnq7w2cOirvAay8PbNal4BaEeoz5bVAu3tP5eKRo3jDWX2q9U3GrkPQb7mTh JX1xpDh//mDF8zBvZb5ZPgtmM9F5cn07u/rVfPws/wp5643xB0lN8HWb2VyWyF8e4dw4 VXeFBLmTZ02jPxrx7A87cI/+AiT8lfAXgjn87+O4BZ3XInhGtd6MgJgf6Enqn4B5bhLY YrXGYMJFNeU/siG7vLkDL0leaOTDNmxXNmF5rkdJXYNWJoLk8AFlXbCLd0EekpY5TS8B rknA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=bpBVu4Ij; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k126si2236706iof.103.2021.09.22.04.29.48; Wed, 22 Sep 2021 04:30:00 -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=@infradead.org header.s=desiato.20200630 header.b=bpBVu4Ij; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235681AbhIVL37 (ORCPT + 99 others); Wed, 22 Sep 2021 07:29:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235422AbhIVL36 (ORCPT ); Wed, 22 Sep 2021 07:29:58 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D25D5C061574; Wed, 22 Sep 2021 04:28:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=D7ZSl4YWEnGCJruUgFbe6upY9ZIlVKrfq0rf1wn9qT4=; b=bpBVu4IjgGl0Zdm/lkC2DT5zDD IhqLDeZhP/xM0SbN4iNNX7YYqL9GuSxmrTDAaLhFK27VashqlEnQ2VXBC0Lfp0Wvvl/sXmsnb+ugw hfyQjy61RtFfG2mwcw3i/dWbKC1UkAxey2W/3bolaSXZjkN3F9ND/B0R3rV6TCUDUV62Y4g2HW8jf Ul15D8IR+ZtAwEcVkNEQgKADdTCzvPqIUtyKaJLv1idSFLkeq5yAWbHuG0u/dsKc3qkHDieX7c50o UjFf2lfi2EK8du47kNWIO40f3sGcSmrix9/myZOWr7pqXuTWFlttdRQHMn7gt6+ROw3vY9bP5njv3 YAM+81pA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mT0QE-004yj0-Li; Wed, 22 Sep 2021 11:28:18 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 493529816EA; Wed, 22 Sep 2021 13:28:17 +0200 (CEST) Date: Wed, 22 Sep 2021 13:28:17 +0200 From: Peter Zijlstra To: Vlastimil Babka Cc: Nicolas Saenz Julienne , akpm@linux-foundation.org, frederic@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, tglx@linutronix.de, cl@linux.com, juri.lelli@redhat.com, mingo@redhat.com, mtosatti@redhat.com, nilal@redhat.com, mgorman@suse.de, ppandit@redhat.com, williams@redhat.com, bigeasy@linutronix.de, anna-maria@linutronix.de, linux-rt-users@vger.kernel.org Subject: Re: [PATCH 0/6] mm: Remote LRU per-cpu pagevec cache/per-cpu page list drain support Message-ID: <20210922112817.GO4323@worktop.programming.kicks-ass.net> References: <20210921161323.607817-1-nsaenzju@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 21, 2021 at 07:59:51PM +0200, Vlastimil Babka wrote: > These days the pcplist protection is done by local_lock, which solved > the RT concerns. Probably a stupid/infeasible idea, but maybe what you > want to achieve could be more generally solved at the local_lock level? > That on NOHZ_FULL CPUs, local_locks could have this mode where they > could synchronize with remote cpus? local_lock and spinlock have different rules, local_lock for example can never cause an irq inversion, unlike a spinlock.