Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1080938ybh; Tue, 10 Mar 2020 14:15:41 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvRXDHnIb7XuQTgv2jFuivIvGMCGxibxZzlKoFaT5F+D1abOPF7nbPbmj/dvxGa2pkVDAkB X-Received: by 2002:a9d:7607:: with SMTP id k7mr18394178otl.205.1583874941172; Tue, 10 Mar 2020 14:15:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583874941; cv=none; d=google.com; s=arc-20160816; b=S7MjetnGPSA1VV10S5ucAxRM9blWIjyBfRSiQKiFfhmilnTfj4qhnBImbj15HGlx7v RiZEO12zbuRD2B4Nah03vq+nTCdtbhojmsfkA4qQTubyfY4MK6NdQtx9PBfCXy8tvTcK /8jVHW8V2rHaB9QzAt/mIf3IamrEm/Tzm7R1uXTdOe+AolJ9Y+OqKy5xpLdOcmgeglIx vAOswdoJDxGaKpuhGw8Pa9O4adUv4p521wIfioVnwDvK/T6WKgNW6uACW4vEfuocgllB uz33E86JbBw55xuExhkdEC32/KpZ1G6e1Xnb6ns9nz21VNF2c+/lGs7qJhwQUZmzG7zb uFqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=N1oxQzJy6XpjNfE9qlXwq1DdlPQd/dmYfJrvVVpsFTU=; b=I/ENlcB3q3HY+vR5pZrVLPjkhPChY0xn3Y8ULMCDzEa3FRylYgMRt6cFOUaOtvTN8U Pl/p38zyt+0sRwyiEl92asMQWfWluHl5xuCKUH3hkDIkBOqaK09uGeTCcxvWMuAT4Ent uonW1yk5hkDPIylPeI1CyfwtEqkH6tHF7dg1L4zNl98bvu9UDf6bP/u0G3Bk/0igBvpB 9XHma9UEi05RnanEbcTzr+iUZR8y/XVawbX4dbQKESsYaOes8f+HN5NVFMpFYvm+dfLV l0hdjDhU17Z6qOgvrfZnMHiA3CyLk+tImaSC5F+jPYFaiZWSEK6xpRpo4WWtfCzak9gc 8H2Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 88si8762543otv.12.2020.03.10.14.15.24; Tue, 10 Mar 2020 14:15:41 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726520AbgCJVNZ (ORCPT + 99 others); Tue, 10 Mar 2020 17:13:25 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:57934 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726100AbgCJVNY (ORCPT ); Tue, 10 Mar 2020 17:13:24 -0400 Received: from ip5f5bf7ec.dynamic.kabel-deutschland.de ([95.91.247.236] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jBmBA-0008Fv-Ul; Tue, 10 Mar 2020 21:12:45 +0000 Date: Tue, 10 Mar 2020 22:12:40 +0100 From: Christian Brauner To: "Eric W. Biederman" Cc: Bernd Edlinger , Kees Cook , Jann Horn , Jonathan Corbet , Alexander Viro , Andrew Morton , Alexey Dobriyan , Thomas Gleixner , Oleg Nesterov , Frederic Weisbecker , Andrei Vagin , Ingo Molnar , "Peter Zijlstra (Intel)" , Yuyang Du , David Hildenbrand , Sebastian Andrzej Siewior , Anshuman Khandual , David Howells , James Morris , Greg Kroah-Hartman , Shakeel Butt , Jason Gunthorpe , Christian Kellner , Andrea Arcangeli , Aleksa Sarai , "Dmitry V. Levin" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-mm@kvack.org" , "stable@vger.kernel.org" , "linux-api@vger.kernel.org" Subject: Re: [PATCH v2 1/5] exec: Only compute current once in flush_old_exec Message-ID: <20200310211240.wcphrhmta7435tof@wittgenstein> References: <87v9nlii0b.fsf@x220.int.ebiederm.org> <87a74xi4kz.fsf@x220.int.ebiederm.org> <87r1y8dqqz.fsf@x220.int.ebiederm.org> <87tv32cxmf.fsf_-_@x220.int.ebiederm.org> <87v9ne5y4y.fsf_-_@x220.int.ebiederm.org> <87pndm5y3l.fsf_-_@x220.int.ebiederm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87pndm5y3l.fsf_-_@x220.int.ebiederm.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 08, 2020 at 04:35:26PM -0500, Eric W. Biederman wrote: > > Make it clear that current only needs to be computed once in > flush_old_exec. This may have some efficiency improvements and it > makes the code easier to change. > > Signed-off-by: "Eric W. Biederman" Acked-by: Christian Brauner