Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1099853rdb; Fri, 20 Oct 2023 08:24:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGAIOOrw8bwh6PaKrtUOxTrWKETxWGGMvzU2813n8Z14AjwoYlMkN9Yzi+ODtfrz0N1U5+i X-Received: by 2002:a62:8458:0:b0:68e:2478:d6c9 with SMTP id k85-20020a628458000000b0068e2478d6c9mr1859515pfd.2.1697815497667; Fri, 20 Oct 2023 08:24:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697815497; cv=none; d=google.com; s=arc-20160816; b=y8vTj59C29rtWP2WB756R+vaq4TIUHJHDqhAZmmpiCkONCVDY5X9lbf9cflBuopAeB Xu+GI895UI1CrkXDno/kRQdB+eNdV1zYlIf9LrS+xYwzGENTobAxK8ifzbziA6TAjlc2 Zt5MC/JFfoHdumvKyA/sSqXxXnHOBHmUTsd6tVfvyiWq9tAHHYk1rS/Idyj2fpyHdJue Dgsc9vZ/EjbD6snkhclHxv3sBpfsapA6rd25Jz9xYVWJIKlmREnz0RY5UCJ3vI9dGNGz ld4AX5KnITN6mAiYxiQD0ZY7ex8svPP2+BJshDh3rPwE9+HhktH3VZMk14YedCcOUaeX vweQ== 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=NYhb3tt2EPKODPsCiyKE5j5C9RcaVkLCIwab0yGWNqQ=; fh=mnGnL0ZSKmTipbvZ4cIGB5TIbxW3DT6gT6+C9uiZ66Q=; b=le+hP3qf4gPd+p1wJRJ04ZLvvBngT4giGPcO2oXbrBK2tDbFm78a113HduNnz4hiM+ RlQwgC76jmjv7zldWTm4fO0/FvbXbMZIGEVL/6Q+LtlToS6EcDmui28wRP3EhtraPqdA q6+hqV+pDzf5yUpu2ywnE2H1DkufFDyDUKM3jNnyC5kNg0Q5FDNwAxZEST1fGx855uRA QARrQR1dbMBmfITT/AKrfVts1JhQRte/Up3YYySBj6hdy+TeT6pbZRRK5Y9MJdjKMYMN Cx6eLExu5Nb8B/CAetXv4suIspg63Eghpif/W5aOvRpJlzCertgU9vqYLJZbQV3DGzdr A7SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=sllUA0pZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id h17-20020a633851000000b005abfb781154si2130938pgn.97.2023.10.20.08.24.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 08:24:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=sllUA0pZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0A37780A07FD; Fri, 20 Oct 2023 08:24:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377675AbjJTPYu (ORCPT + 99 others); Fri, 20 Oct 2023 11:24:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377652AbjJTPYs (ORCPT ); Fri, 20 Oct 2023 11:24:48 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51FF191; Fri, 20 Oct 2023 08:24:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=NYhb3tt2EPKODPsCiyKE5j5C9RcaVkLCIwab0yGWNqQ=; b=sllUA0pZVAuRO6ldGt0htyYZ+S PdfNDAKQiWXgq9+OMT/8dGd05TAIhP1Z3mbgbvRkprhHySGpBSwIFcOfIlg5bucZLxv6LeAfOBCJy ygplxLd3KH4/hblqRD04vmFVrVEVhD5ZDwbfcakMU+s53nCPS6LS1E4kj1nN+KALLkw5maL4StRh+ Ll7CBTHJsBxup64tpp8Abu+LvWCCRPUR7pEhfaScCCPJmBi9EPePi2cVLnN6ldOW3h2XysgBDi63U R1F+Eiyh2fv822mVkkRyMy7+vO3SX5waPF+A+tg0BNsIAsBPB3eS67nkVeSMOa6LmpfimvOryNYXT FKTTTJVA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qtrLv-00DqsE-Bp; Fri, 20 Oct 2023 15:23:56 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 07D40300392; Fri, 20 Oct 2023 17:23:55 +0200 (CEST) Date: Fri, 20 Oct 2023 17:23:54 +0200 From: Peter Zijlstra To: Muhammad Usama Anjum Cc: jeffxu@chromium.org, akpm@linux-foundation.org, keescook@chromium.org, jannh@google.com, sroettger@google.com, willy@infradead.org, gregkh@linuxfoundation.org, torvalds@linux-foundation.org, jeffxu@google.com, jorgelo@chromium.org, groeck@chromium.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, surenb@google.com, alex.sierra@amd.com, apopple@nvidia.com, aneesh.kumar@linux.ibm.com, axelrasmussen@google.com, ben@decadent.org.uk, catalin.marinas@arm.com, david@redhat.com, dwmw@amazon.co.uk, ying.huang@intel.com, hughd@google.com, joey.gouly@arm.com, corbet@lwn.net, wangkefeng.wang@huawei.com, Liam.Howlett@oracle.com, lstoakes@gmail.com, mawupeng1@huawei.com, linmiaohe@huawei.com, namit@vmware.com, peterx@redhat.com, ryan.roberts@arm.com, shr@devkernel.io, vbabka@suse.cz, xiujianfeng@huawei.com, yu.ma@intel.com, zhangpeng362@huawei.com, dave.hansen@intel.com, luto@kernel.org, linux-hardening@vger.kernel.org Subject: Re: [RFC PATCH v2 8/8] selftest mm/mseal mprotect/munmap/mremap/mmap Message-ID: <20231020152354.GC31411@noisy.programming.kicks-ass.net> References: <20231017090815.1067790-1-jeffxu@chromium.org> <20231017090815.1067790-9-jeffxu@chromium.org> <3cf29cd5-8346-419f-88f1-3a5c8ddbacad@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3cf29cd5-8346-419f-88f1-3a5c8ddbacad@collabora.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 20 Oct 2023 08:24:55 -0700 (PDT) On Fri, Oct 20, 2023 at 07:24:03PM +0500, Muhammad Usama Anjum wrote: > Please remove these. These macros would be picked up from the kernel > headers automatically. As per the previous discussions, how does that work if you have O= build directories? I find this push to force people to do 'make headers' in order to use simple selftests quite misguided. You're making it *harder* to use, leading to less use.