Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp298148rdb; Fri, 6 Oct 2023 04:04:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEG0sWWFshjvux13pQ5Q61VbuoP1IMXjFr1DGXCGcIGnGjJqDBeYxCCUjBubFm5ZHQFnmuh X-Received: by 2002:a17:903:234e:b0:1c6:1fc3:6857 with SMTP id c14-20020a170903234e00b001c61fc36857mr9391537plh.27.1696590280918; Fri, 06 Oct 2023 04:04:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696590280; cv=none; d=google.com; s=arc-20160816; b=PfhqAxtM4yYe+Rxfc39TVx5DJ2BQ3Ye8XbNNRXcHbzPSZsgyk7v/wi8dC1OzXOS8Hd ILjNqow2yq1V8H7OH8qy4TlF91ZoudmsP/r8EUoEESj1beDXeNqRSYJJ29FnqLp0C7vH 8R6ysbiTBrGH3KYN/aSmxIPQ9D1waEn4MKD1DpqPIbzyOCFQuHzivLTfIYdPvaou36/U SebLj0++mrpXxsekWATtforHujfzyFW80zHvtpLv20jwu7TOAUxw1yesWxLChyYhU6ty hJy+iS5hnDDbBa1e/3QMRIlhApY1NwlNrB28grPqBz/vlf7IP3mlsgUg2RQqLN2jRbv+ gwjg== 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:sender:dkim-signature; bh=M2WiOCrWmhLJuTIepEjZQuImlrrjxsWBQrKZp+iyTHw=; fh=KvuGgngCs9RCjsWS7RVwx2oh0eatG3Paeag+S4QoBoo=; b=x56c87SEc+G2JJeRXweQ+xKoAM7k0JIKZWFVL7wVmDEJjMH/ijVZRipSK22l8U8Egf iMWQqgDGXF1VRWuJrGNfxJY03gVb9htTWjutrzDGMF/Lve86tHglNhiddR4w68kGJn9s TBWXdO6khVr4wE9/AbEL2SbHiz/bIfBhnTkJzcXPh+OhpVYXSQjWHZaYI6Ib6BtzfZJ/ yFH3xLcwTIp2xhonS8PDwHiSuNzNPTpZdLHxPoD1V+B2slxeXU7purIbbNPpGqmZSTch QhDMfKsSt/NH8Q6wQdecTzxrSia/74P0EUYMudGvfjSdYc6CFgeIKjUWYIAAqbIaYkgY ChWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fa4hWWzr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id a10-20020a170902ecca00b001bbad1883d5si3603445plh.293.2023.10.06.04.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 04:04:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fa4hWWzr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 66213822157C; Fri, 6 Oct 2023 04:04:36 -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 S231911AbjJFLE2 (ORCPT + 99 others); Fri, 6 Oct 2023 07:04:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231880AbjJFLE1 (ORCPT ); Fri, 6 Oct 2023 07:04:27 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7FCE83; Fri, 6 Oct 2023 04:04:25 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-9936b3d0286so365741266b.0; Fri, 06 Oct 2023 04:04:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696590264; x=1697195064; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=M2WiOCrWmhLJuTIepEjZQuImlrrjxsWBQrKZp+iyTHw=; b=fa4hWWzrFioGCaoP66Dr6mDfuZ5JBZEDZ0GSaN8rUick6jB26ycQ+VgrHAvbC2UslW ZNIs6PkiHMU8clsUkI//cB0sJi9CPm+RzAHicKCt1u1h9+aivw/GmNFF+3xnTYegJimQ MzHvgXBguuEY4xfMfXbDAt/6tC5reovhg+rnvCq0GzwLjV5WgRmiqv/L4vguDMzjGiER jmxep9LP+UDGUzebV8iqi76bAMxxF/92/4AJVn5sYAhdv8vBzn+JmpSgkJTmHcl7+Yn9 h5AYoinoJyvgDiO4cWDwgsE/GFv5c0fsV4Ej7xxbhWRP2Mti5qOv8dwMYu0V1yssbbES mqVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696590264; x=1697195064; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M2WiOCrWmhLJuTIepEjZQuImlrrjxsWBQrKZp+iyTHw=; b=WcS5lFwsApc6MrKDTSe6t36WRDhC2cYeCDHWDwIDWJ2tYaTh+imEV5pura3JQCqPeu s9lwy3xkosMOcvacCFyeRDt97x6epnfMY8adKRO6oG0/yQlr5V2pnw8wna790S5BQFVa TROQAXl+JsMptNFJTuqlHFdXYKS1L8eyInbt4dfTIVK8yOMKN0JvDkxp8XEMCPzP1H9i fBmn7svONQ1ybFqGxHReW7Gaw/aWaFfepxfv3OpYTgpuAS9uxbUMjdHvEBrk37tIhzeX g3dcrspBpTL0d7zE8XV07qvOXzxLpW9FzHjkTfyKXY9qY5agTAbefPOXpJpxs5OrQ6/5 G+kA== X-Gm-Message-State: AOJu0YxVLi9TKvtIY99/MVM+ABAXZWZRyF9/ujqvqPD7zUCiNaa5K/O8 5k7HoqCEBwvlrw8DEwx0HFM= X-Received: by 2002:a17:906:5357:b0:9ae:7681:f62a with SMTP id j23-20020a170906535700b009ae7681f62amr7743546ejo.44.1696590264233; Fri, 06 Oct 2023 04:04:24 -0700 (PDT) Received: from gmail.com (1F2EF530.nat.pool.telekom.hu. [31.46.245.48]) by smtp.gmail.com with ESMTPSA id kb4-20020a1709070f8400b009adc81bb544sm2677862ejc.106.2023.10.06.04.04.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 04:04:23 -0700 (PDT) Sender: Ingo Molnar Date: Fri, 6 Oct 2023 13:04:21 +0200 From: Ingo Molnar To: Peter Zijlstra Cc: linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, Muhammad Usama Anjum , x86@kernel.org Subject: Re: [tip: locking/core] locking/futex/selftests: Remove duplicate ABI defines Message-ID: References: <20231006095539.1601385-1-usama.anjum@collabora.com> <169658834039.3135.4395839213523782496.tip-bot2@tip-bot2> <20231006104325.GC36277@noisy.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=2.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no 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, 06 Oct 2023 04:04:36 -0700 (PDT) X-Spam-Level: ** * Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > On Fri, Oct 06, 2023 at 10:32:20AM -0000, tip-bot2 for Muhammad Usama Anjum wrote: > > > The following commit has been merged into the locking/core branch of tip: > > > > > > Commit-ID: d351a9e56cc90a9ff694550e4b3bcaf51a391525 > > > Gitweb: https://git.kernel.org/tip/d351a9e56cc90a9ff694550e4b3bcaf51a391525 > > > Author: Muhammad Usama Anjum > > > AuthorDate: Fri, 06 Oct 2023 14:55:37 +05:00 > > > Committer: Ingo Molnar > > > CommitterDate: Fri, 06 Oct 2023 12:29:45 +02:00 > > > > > > locking/futex/selftests: Remove duplicate ABI defines > > > > > > Kselftests are kernel tests that are built with kernel headers > > > from the same source version. The kernel headers, which includes > > > current ABI definitions, are already being included correctly > > > in the futex selftest Makefile with the help of KHDR_INCLUDE, > > > no need to define them again. > > > > > > Remove duplicate ABI definitions, which is effectively dead code. > > > > > > No functional changes intended. > > > > so.. as it happens I recently built these things as stand-alone, and > > then you ver much end up using the system headers. > > > > Also see 20230922205449.808782861@infradead.org where I add more of > > this. > > > > Specifically, if one does: > > > > cd tools/testing/selftests/futex/functional; make > > > > You don't get kernel headers and stuff does not build. > > Hm, I did this after applying the patch, and it does work, > but maybe I missed that those definitions were picked up > from system headers... > > So how about we make sure current kernel headers are applied > correctly in a 'standalone' build? There's no reason they > shouldn't be. Anyway, I've removed this patch from tip:locking/core until this is cleared up, as your usecase is obviously a valid one ... Thanks, Ingo