Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1665104pxk; Fri, 4 Sep 2020 15:57:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZ+3TJDeeoxBAbj5a6yl+aaDNokocmdDeHjEPABpKtZC9mFkA8Jz3nnBvzSwDFpMtt+vsG X-Received: by 2002:a05:6402:1b0f:: with SMTP id by15mr10681154edb.289.1599260278852; Fri, 04 Sep 2020 15:57:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599260278; cv=none; d=google.com; s=arc-20160816; b=LPR3t3DfsGxu1j+Acx0Nw+nkeg/ycQUckzinsQg3/urY7MU68GWuTQ3adXPV0v0fxi IK+548M0IlhOxOvp6IWg4m/NmlpTJd/7aXSE6k6KyuY/FrRy7/VnXf4yba0fywo6nBgB QwYEwGG7FpnIuk1LXVDlyf8EJkEEyIVlPthftoCYOEXJc8nGHWNbnUGG05QeP3/P/RzE 3JfiCmDHrqI66y5wWSMCBEGgH/fwTY6E+nt0pJPYP+1TBjXEro+TkAu8BAxe99RLla37 PABwRm9Xuouk1ltrWpsXmn+1mfHxbdF01AxRakHzMgO6VMk916XW0s03Vw176kdpBH35 RMSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=8s2YG/N8RVaP8jhEZI5706L7cAv2yf4U3OyndW96VYo=; b=x2BsR8T1tDMw3w6bKRfJEbsv16jMJ0S0fAMBdTbD7FdOM411bNRTLF1aHutpmCYmfO iSqk+XIi93OGHmpvEquPuT06MlX7eSzYNlOaAw5ZnQA+E2SimgEt3dsZw+0Dh3F3MPR3 IuGa6DRUJ5gnYsmqldR0L6SDytb+9tnCAKzrEuc97Md6rjXHEhFpqkh2SGAgMeSMyzDT qdN4a/gh2FWRoL0hf6gfRVtWU7PAKAvK4C4L+pmgnAKjDB4YzHnbayhLPu6gnJvDaIJn bXqx3CKdTKlL+obELDx/+TU8LcZ3YRkeLrJyNf4UrLiEgojFhP8jVQTiPxIc6nTMwg9R zgJA== ARC-Authentication-Results: i=1; mx.google.com; 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 f5si4811904edt.158.2020.09.04.15.57.19; Fri, 04 Sep 2020 15:57:58 -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; 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 S1728222AbgIDWzK (ORCPT + 99 others); Fri, 4 Sep 2020 18:55:10 -0400 Received: from mx2.suse.de ([195.135.220.15]:39098 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728162AbgIDWzJ (ORCPT ); Fri, 4 Sep 2020 18:55:09 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 9936FAB54; Fri, 4 Sep 2020 22:55:09 +0000 (UTC) Date: Fri, 4 Sep 2020 15:39:20 -0700 From: Davidlohr Bueso To: akpm@linux-foundation.org Cc: oleg@redhat.com, axboe@kernel.dk, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next 0/2] tasklist_lock vs get/set priority syscalls Message-ID: <20200904223920.5bwqyuiw266ypufi@linux-p48b> References: <20200817003148.23691-1-dave@stgolabs.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20200817003148.23691-1-dave@stgolabs.net> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 16 Aug 2020, Davidlohr Bueso wrote: >Hi, > >This is a (late) update on trying to reduce some of the scope of the tasklist_lock >for get/setpriority(2) as well as the block io equivalent. This version addresses >Oleg's previous concerns and incorporates his feedback. > >Changes from v1: >https://lore.kernel.org/lkml/20200512000353.23653-1-dave@stgolabs.net/ > > - only take the lock for PGID cases. > - drop bogus PF_EXITING checks (and live with the small exit race). > - add patch for IOPRIO_WHO_PGRP. > >Please consider for v5.10. Andrew, unless you have any objections, could you please pick these up? Thanks, Davidlohr