From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9152C4167B for ; Fri, 8 Dec 2023 22:10:21 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D10D26B007D; Fri, 8 Dec 2023 17:10:20 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id C98E16B007E; Fri, 8 Dec 2023 17:10:20 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B38836B0081; Fri, 8 Dec 2023 17:10:20 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 9E6A56B007D for ; Fri, 8 Dec 2023 17:10:20 -0500 (EST) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 7646B160154 for ; Fri, 8 Dec 2023 22:10:20 +0000 (UTC) X-FDA: 81545045400.05.C99FADD Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf25.hostedemail.com (Postfix) with ESMTP id 230ADA0022 for ; Fri, 8 Dec 2023 22:10:16 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=FGvjnfZ7; dmarc=none; spf=none (imf25.hostedemail.com: domain of peterz@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=peterz@infradead.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1702073418; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=/0Qz43yXWHKRpnVXenO5RhbNzM7+gVncZQ63SMwE3i4=; b=JYxX23ozz2EBn47C5gYAT/Nux0by4kBpDdsZTPqW+xRzwcQLP6CMJQzF1VlTlsrXzljQIS r5W/9quB7LKpYRIxFwNsQqf+svk+ZU6/4len94eLUkUBmXHUeu8gx6ZuchJcvMeS7+ZziW fDI/t0d/J5oR+JOtmXGzbZkGK0NGRJU= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=FGvjnfZ7; dmarc=none; spf=none (imf25.hostedemail.com: domain of peterz@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=peterz@infradead.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1702073418; a=rsa-sha256; cv=none; b=dpgxWZHcuT1uO7aBCb81DwPC5aqybhpzxuzJnvf05P4Op3LeaXVQZeNTsteAPRrCs1cecx MrQ97XQSgplIcn6EFCZCCIP4GOPcptCOO/1wjeKypV3H8SNmOUcFTxrH7mDCVM7wJImGHc wPSKYA0frpvDiC/VYds12BDDCeuBGvo= 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=/0Qz43yXWHKRpnVXenO5RhbNzM7+gVncZQ63SMwE3i4=; b=FGvjnfZ7+Por6qLX7oGRUbZTeQ I0DhdI59LFdS83KUNARfpVoB+NROGqZhSY3HVXg+Y+Rk5vz82vI++nvPojoocbk1Y5foyoi2CsFFk m1nr7LWznGR+iTy0g+3uD3GMwKRciZ16K8R+/iSMbk0x3FBdU8o0NKH9PEzPl/p6/cYh/t3O1PLcg d0Y2znNuzkjlkSqx4MBusJPC3X/nUn0pWmcJUTUhUtNlsA5TTkEr3qrLJfq/m3D06BD5xtJ0XoZXY nXrMxljNFpzAr10nWbH7zGfxOeNK8ax6cLAgGb1tx4fTva0JyTouSkV9HlNDWd/Ggq+3yHez0eDnS 7yuK3HfA==; 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 1rBj2u-006fJt-EM; Fri, 08 Dec 2023 22:10:08 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 76E993003F0; Fri, 8 Dec 2023 23:10:07 +0100 (CET) Date: Fri, 8 Dec 2023 23:10:07 +0100 From: Peter Zijlstra To: John Hubbard Cc: David Hildenbrand , Linus Torvalds , Andrew Morton , Peter Xu , Shuah Khan , Nathan Chancellor , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, LKML , Muhammad Usama Anjum , Jonathan Corbet , linux-doc@vger.kernel.org Subject: Re: [PATCH v3 11/11] selftests: error out if kernel header files are not yet built Message-ID: <20231208221007.GO28727@noisy.programming.kicks-ass.net> References: <20230606071637.267103-1-jhubbard@nvidia.com> <20230606071637.267103-12-jhubbard@nvidia.com> <20231103121652.GA6217@noisy.programming.kicks-ass.net> <20231208151401.GG28727@noisy.programming.kicks-ass.net> <990feea2-c7a8-4cd9-8a6a-bc4bc1c2ffab@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 230ADA0022 X-Stat-Signature: aq3hpmok5j71k31qgo1q9djqm4qm7d3r X-HE-Tag: 1702073416-627599 X-HE-Meta: U2FsdGVkX1+vrynpIgEflCkaX019invH4VzohoZCJn2lNxT/ruiXca/kt0thCGFqtGi5mdKwQE0SvTlzSqVxYvOI11Zxpe0fQCuhZ70cJWgDfFzUl0USCKGGop4r9PVAv5qB+68/zOEyNtzNZNiVljON0CZucDYHFlhWqdG1x7r1BxSuttHBMjzhleFN4RnUFsSjPOpNbNC/e7evY1HuI5LLNkJxDLEjlAHgnCMUju3HerK0GLU/oD9jcM68bX/AH/TYVsW9f9h2nyLHxZaNrOjg77xryuask1CsRXArCyttdn5oNGIBdlZxI/l27lgzXLd4k51Wo/L6KQGGwnGE8Vp9ZM2WyCx9z2NvEw4Vf09Mqe2fmTJWwbV/80q4Lci3cxlcNCc/C5y+FXKGydqXkeGDvlKFb3ciU3vkyoRlirLCGUCEHraOv8RXyqegkbv7otY8ZU5NIWD1HjvzT4/0PzSaRQ+SfPtuz4nQAp/J6vbUJLTySAkVeXAJQuLtjxsz+Dpaza2QQtf4glTfayIbTMRpsMNXs8q+GV59nsR3IPA5wmbb/TIIKAC/sZbUB3TOF2drz/NR0qCNUA69TPZ0ipmmIwdacKwQyva7ExOKkVfAPNSa40JsDbed2JxgXRWnkqhioPBOuEccE9DDaii2Myx6gSB6LpdTNLfnh7uiG97kqb1MskxzhgblbRgS/5V3bgqMTkGE2yJd8p4KwuWx7bTmOnIn/6eRIXLaKEyrQpPsr8jp9lQyylwSQxjW9FJEmo61G5cTbifbFscS2n+f4j9apaAcIypFAGFCmp0g0fC+dRscIGTQyAxunD3opPoYOC7MAkpeXEnUllCb9R5/AWnOlVIK2ivMKueBhakBDTvlzoTyZdCQHcb+N4Axjkvuaz4xTJRrmUu1U9p0fDm81+RJWgOJ2IECTX5Vz7y98M7iOdBT8kchFhDqlYB3FF7lF/cm+l8twprOTt676x3 Fnrq5NKS IKP2Z6nxrPrRtlakFfrQhxSblBwJ1Wc0HwOCZy9HDbx5W8EVMyx4A2xegPkwaEXvyLNHqGSU9w36fE+KO4aSm5QoeDWSvs+VB2e8Ubg9sGE0iK+a2+1OuyKxQmqKpC4rWr3nwJ8Y9XbD1TEA= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Fri, Dec 08, 2023 at 12:29:37PM -0800, John Hubbard wrote: > I don't have a strong opinion about how this should be done, and in > fact I believed at the time that I was bringing the system into > compliance with what everyone wanted here. :) > > There seem to be two conflicting visions: > > a) The way it was (much) earlier: use ifdefs and defines to get by > without the latest kernel headers, or > > b) Requiring recent kernel headers to build the various selftests. > > Shuah, Peter, others: can we choose a direction please? Either > way will work, and I personally don't care which one we choose. So as David already argued, the current thing does not in fact help with b. You just have to install once and the error goes away, then carry that tree for a year and you're running old crap again. My biggest beef with the whole thing is that I simply do not want to use 'make headers', it doesn't work for me. I have a ton of output directories and I don't care to build tools into the output dirs, in fact some of them flat out refuse to work that way (bpf comes to mind).