Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp103230pxu; Sun, 22 Nov 2020 01:15:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+YQ04QOLmj6apZMe4AR36rrjxCjUyaSLReArWS2+g64OUem4ePWUgFTO1F0b1gbV2h1L5 X-Received: by 2002:a17:906:f881:: with SMTP id lg1mr13571927ejb.133.1606036554979; Sun, 22 Nov 2020 01:15:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606036554; cv=none; d=google.com; s=arc-20160816; b=fsEee5c4vHpZyg66bCl0o4MQMPmS59bMAhmYH2K2cR4oplHzPhEOguu3oA2dATDbIc g4Bh5Kgw/UIG53Dq0LMf4STkSShTOGnvNfRvaO05lJwm3cqtruDWYgnxu4hH8UQiq1en wMJRmrZWQgRTYbZMWeGxJqRIWHVHR3g2Ik16ZufltozGNWVXHMUSVOkggRR2gXal/JxV +KyfJAhohGZlZAsuhQDK/S2yODio++cNbrY05yAc7kzRgwTbGZGT4R5DdftBnHlkX+0O mdqmHq1sOPq17gP4AkJLuyZ4fNRhA8sz5JX00RoaOEwfR2faYiOHBqHiliX+PX7XVXgD wxgQ== 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=CWLOOIouluXSNbm57Xabnw0CTGlPnZHHKBLLIyM6ePc=; b=pqqCQfbVpfkiUffKAnQXVZIDOLhlaZOj6BOxfx9EmDwYdhD22nC7ti8tQfA5KGmI3Y 37L5NcNeLCNfWJh5XN+w/Tr5xZOvD9N11gwujoHuXUbmt8xJjedPGnPNWmm1ZyYoi1Hu vYfokuH5eI/gMLVoAaBloNfu8uYUMTghVWswQ0LCm0iZs8UnUmlbJpYo7Zx0RXA5zapw lNyfHzA+LVEqJzFfKt4E3JArBdK0s5REOAtO1XmXklUI18iQmYRgp7SK9OsfIaYZ4Hoz w7JtMu38qB0YesWSyQcF8qlEvO2MuykQc5sXzJ0QB4TS13BfhFeq2rrb1IObgkTu/DFx UaIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=g+sKzqLt; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si5640310eju.565.2020.11.22.01.15.31; Sun, 22 Nov 2020 01:15:54 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=g+sKzqLt; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727391AbgKVJMA (ORCPT + 99 others); Sun, 22 Nov 2020 04:12:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727306AbgKVJL7 (ORCPT ); Sun, 22 Nov 2020 04:11:59 -0500 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE3D4C0613CF for ; Sun, 22 Nov 2020 01:11:57 -0800 (PST) Received: by mail-pl1-x636.google.com with SMTP id l11so7312931plt.1 for ; Sun, 22 Nov 2020 01:11:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=CWLOOIouluXSNbm57Xabnw0CTGlPnZHHKBLLIyM6ePc=; b=g+sKzqLtAw2CvMS0ifj7hkY7v+vqGQmUt2OjgLeMMbsweVvMiSDiw9gSU4e81bvJ7t h9SQ483QFJHBZhaXIZT1+QXmvy92yn8hMR5CnCYHWKnOtBwiQCLAUrjn5vCoU1jOAJwh YPZjLYBi+gxUXP8Y+/e/7QW75jlTnRL+2IpXH57fJnj8z82b7SM/ZhYlD5Dx0TaYTDqn 7XAEGp5sGVlNil08Ruf8GAZ1XbwWaHhKZA8sDtOdeI3CcQo51KSP5xuc9TQuO6rzdW5r HglP3j6Giogjy97jSZ8kZjL14yK4PCAvfWyX1gnaI/AcI41sMvKqxl1ONJax5TJyJeHw krBQ== 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:references :mime-version:content-disposition:in-reply-to; bh=CWLOOIouluXSNbm57Xabnw0CTGlPnZHHKBLLIyM6ePc=; b=ljr8v9egmHXL7e9+vr1GBb7asZbJImKVVy00Q8gXwNLEmW9tumJdCisQNcQ+p0Z549 njbTaU31UKCOT+DOBb1PNeISzc7ehDYABhK8o63p7mSvV1HF+b9SolpvHed7yzXR7a4P 335TbdTS/YUmqwwGFP7RReG2lS5areJ1nfaOTcCkNgsi3UqtWpmDJMVlavt71sYHaLVL JmZsQqN5VgHXJ6zl0XGva9GSR5MreLAS/EY5YDIM9vW0bSVNZOvyZxTm243K13qh1i2B EYClUJ3AZNFwKmDIL9dz9gdzRASbA5oWA+41RVM+4g3ZpjY3ZtU2nu4hjHBTdgvfpBgE V2Cg== X-Gm-Message-State: AOAM530q3GgWV9vn13ITtwCp+9bFRtRmd4zWmZwaTzrWIwEE+9WeNX5L Xke15wlKm/AEqgDzdLKQFew= X-Received: by 2002:a17:902:6b48:b029:d8:e603:75fb with SMTP id g8-20020a1709026b48b02900d8e60375fbmr20428011plt.6.1606036317314; Sun, 22 Nov 2020 01:11:57 -0800 (PST) Received: from localhost (61-68-227-232.tpgi.com.au. [61.68.227.232]) by smtp.gmail.com with ESMTPSA id a11sm8884053pfn.125.2020.11.22.01.11.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Nov 2020 01:11:55 -0800 (PST) Date: Sun, 22 Nov 2020 20:11:52 +1100 From: Balbir Singh To: "Joel Fernandes (Google)" Cc: Nishanth Aravamudan , Julien Desfossez , Peter Zijlstra , Tim Chen , Vineeth Pillai , Aaron Lu , Aubrey Li , tglx@linutronix.de, linux-kernel@vger.kernel.org, mingo@kernel.org, torvalds@linux-foundation.org, fweisbec@gmail.com, keescook@chromium.org, kerrnel@google.com, Phil Auld , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini , vineeth@bitbyteword.org, Chen Yu , Christian Brauner , Agata Gruza , Antonio Gomez Iglesias , graf@amazon.com, konrad.wilk@oracle.com, dfaggioli@suse.com, pjt@google.com, rostedt@goodmis.org, derkling@google.com, benbjiang@tencent.com, Alexandre Chartre , James.Bottomley@hansenpartnership.com, OWeisse@umich.edu, Dhaval Giani , Junaid Shahid , jsbarnes@google.com, chris.hyser@oracle.com, Ben Segall , Josh Don , Hao Luo , Tom Lendacky , Aubrey Li , "Paul E. McKenney" , Tim Chen Subject: Re: [PATCH -tip 04/32] sched: Core-wide rq->lock Message-ID: <20201122091152.GB110669@balbir-desktop> References: <20201117232003.3580179-1-joel@joelfernandes.org> <20201117232003.3580179-5-joel@joelfernandes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201117232003.3580179-5-joel@joelfernandes.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 17, 2020 at 06:19:34PM -0500, Joel Fernandes (Google) wrote: > From: Peter Zijlstra > > Introduce the basic infrastructure to have a core wide rq->lock. > Reading through the patch, it seems like all the CPUs have to be running with sched core enabled/disabled? Is it possible to have some cores with core sched disabled? I don't see a strong use case for it, but I am wondering if the design will fall apart if that assumption is broken? Balbir Singh