Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1245042rwb; Fri, 18 Nov 2022 15:17:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf6efTp/BfF8jOOGpZnhzvfyoiCP6NXNBqHymX5w1hjuPdkIjtUHQadj1RFQGeeQHEI6wvdV X-Received: by 2002:a05:6402:5487:b0:468:816f:bbc9 with SMTP id fg7-20020a056402548700b00468816fbbc9mr7740041edb.78.1668813427007; Fri, 18 Nov 2022 15:17:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668813427; cv=none; d=google.com; s=arc-20160816; b=sq4KOIyY7R6IHRGDe54DBmcQcbKpKBZKJl0i2cm+pFkmW327dJbJzrcEtdKowUuriC DT7eF3C+Y9Q/BerodbPs/f9J3KIuWekLsZYtWJSvecHVCqSq0o6/YjOKZotXVY9anbL2 cIVMiPDAzA61kY4j3uYYmzhdEGWtMK0PrHgh+yUWDVkl5f/xiGk5tTyUX2Ab+FaRFIYl SuiBPlChCcPo0fg+VTHL3cdKfXNlwrDtTf6nKcJjrcTDhZI7m2r8A5TkFqN76pRH/JlA fRIOGOP6g6BBJ20Fmjm62/yUtvpQtiibnofqUs5x9T7MNRk6Qs5flcV+v2SeqxAQ4xPu /WxQ== 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=UbBsvDU//DL6nEBTfVogOGw4gtrIt5cEgoWU7wg0yqE=; b=PxRFmYAGv+6ySw/BrY+j0e8WPLCPcfvxF64Xl4a1tLiRs1KjyvtJe4A5kpT+e4nHXE fQR+PYg8MrmHileH94LclmyuKup/S9lsYWOZuxOByh9fiD9Pja6dfvDt9AS8GkRjnhBB NgvqforqJdQ/f6hRG8r9P/Vm9SLMU3l+L0V+DFdZNBZTJJgaG7SR8+cLADDKcStcAQpW i2ua5iS8L0EaTJ0hRacZ6jtiC3ohBTEMDDTMEnPBpbbns0UffmK8xkJnvLq9xa81AIQL c1yj5YGCcFVyFVQpGALKBLKuU5mIyR0uukcmWU+ZEZDarbMFEwdZO/80BSKPda8Q40v0 Hqxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=An8R27hB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa25-20020a170906edb900b0077156c9124esi3225568ejb.1001.2022.11.18.15.16.45; Fri, 18 Nov 2022 15:17:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=An8R27hB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231771AbiKRW3G (ORCPT + 91 others); Fri, 18 Nov 2022 17:29:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbiKRW3F (ORCPT ); Fri, 18 Nov 2022 17:29:05 -0500 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB6B6725E2 for ; Fri, 18 Nov 2022 14:29:03 -0800 (PST) Received: by mail-pj1-x102f.google.com with SMTP id q1-20020a17090a750100b002139ec1e999so6354513pjk.1 for ; Fri, 18 Nov 2022 14:29:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=UbBsvDU//DL6nEBTfVogOGw4gtrIt5cEgoWU7wg0yqE=; b=An8R27hBelrmHfCbOWIi0CQbpB+FbdUKZd/K74OWA+t1inv8v4494buerQXpAbVoQ/ hawXo5IWqwOaOJXIlgQJ62nY4aZ8mzIQL8T0sN5QawgAa8EGZw3klOrzN/KXycM8ohn1 PnwiDQNXHvwQENzmlhMaoO6BFIxzwB92hREPE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=UbBsvDU//DL6nEBTfVogOGw4gtrIt5cEgoWU7wg0yqE=; b=T3RUfz1jO2G2T+XJ0ZoJPSS2YHSVFxSw5Hd3IZ66iW+ApJV36NVgzSZuES2UrjVAew IzzUaxXcQ/dJXBVQBurL5xi3vrNvDO8lKqFCOZf5H/7JFrKDiBD8RUVRFx+3b2EqH8O7 p6Rx7OwqxxoCxGBtAg3XHsTY5G682E/RNS84ew2ANswbnyIkZruQGSdUYSk2aHl6tz6D OWLgjlPbU5CVake0tai/wVGVOdXWjPy9q9rLYfu4SXv+H0H41wOEbF0Yw8w+yZsHDo9j YCYEpz2VnB5TpH/EvYjt6HdfnW9pnBBpeOJJy3cJq1v7zL94W9aHedCaSn2VkTWVTMGF WGGg== X-Gm-Message-State: ANoB5pnLkv2ppri04YXb++sYJnoyT0w2y3prpkvnxEK28P+mHr+x83V5 kXla0N9u4j0XkEsG0g0uII3fuBZ1pdsjUl8W X-Received: by 2002:a17:902:e009:b0:188:649b:9dbe with SMTP id o9-20020a170902e00900b00188649b9dbemr1414800plo.107.1668810543395; Fri, 18 Nov 2022 14:29:03 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id b29-20020aa7951d000000b00561382a5a25sm3714931pfp.26.2022.11.18.14.29.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 14:29:02 -0800 (PST) Date: Fri, 18 Nov 2022 14:29:02 -0800 From: Kees Cook To: Peter Zijlstra Cc: Linus Torvalds , David Hildenbrand , linux-kernel@vger.kernel.org, x86@kernel.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, linux-rdma@vger.kernel.org, linux-media@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-perf-users@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kselftest@vger.kernel.org, Andrew Morton , Jason Gunthorpe , John Hubbard , Peter Xu , Greg Kroah-Hartman , Andrea Arcangeli , Hugh Dickins , Nadav Amit , Vlastimil Babka , Matthew Wilcox , Mike Kravetz , Muchun Song , Shuah Khan , Lucas Stach , David Airlie , Oded Gabbay , Arnd Bergmann , Christoph Hellwig , Alex Williamson , Oleg Nesterov , Richard Henderson , Ivan Kokshaysky , Matt Turner , Catalin Marinas , Will Deacon , Thomas Bogendoerfer , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Richard Weinberger , Anton Ivanov , Johannes Berg , Eric Biederman , Alexander Viro , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Kentaro Takeda , Tetsuo Handa , Paul Moore , James Morris , "Serge E. Hallyn" Subject: Re: [PATCH mm-unstable v1 20/20] mm: rename FOLL_FORCE to FOLL_PTRACE Message-ID: <202211181427.4D1C3132FE@keescook> References: <20221116102659.70287-1-david@redhat.com> <20221116102659.70287-21-david@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 18, 2022 at 12:09:02PM +0100, Peter Zijlstra wrote: > On Wed, Nov 16, 2022 at 10:16:34AM -0800, Linus Torvalds wrote: > > Following the history of it is a big of a mess, because there's a > > number of renamings and re-organizations, but it seems to go back to > > 2007 and commit b6a2fea39318 ("mm: variable length argument support"). > > I went back and read parts of the discussions with Ollie, and the > .force=1 thing just magically appeared one day when we were sending > work-in-progress patches back and forth without mention of where it came > from :-/ > > And I certainly can't remember now.. > > Looking at it now, I have the same reaction as both you and Kees had, it > seems entirely superflous. So I'm all for trying to remove it. Thanks for digging through the history! I've pushed the change to -next: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/commit/?h=for-next/execve&id=cd57e443831d8eeb083c7165bce195d886e216d4 -- Kees Cook