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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0A8AC54EAA for ; Mon, 30 Jan 2023 16:55:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236535AbjA3Qzg (ORCPT ); Mon, 30 Jan 2023 11:55:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236106AbjA3Qzd (ORCPT ); Mon, 30 Jan 2023 11:55:33 -0500 Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC1A03E626 for ; Mon, 30 Jan 2023 08:55:19 -0800 (PST) Received: by mail-il1-x12b.google.com with SMTP id u7so3838758ilg.4 for ; Mon, 30 Jan 2023 08:55:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=nC/IV5CSikVcFD92Ww8OR9pedo65XnElLOKkh2lDSp8=; b=EHkFqV3iePUrdFJk+fd5HxzSdFP+ViOLp9utC0CH9jBShd9a3QJsA+m3h/EMXlr6fI xB2YVghIBYvVi++IkF2FZbRWuqKKow+76V+AodNu0jJjWa4ptVcQvSuF+aOwYtTsuaXh D1eKiXxHoUA2eOWD+NGa0EnhhgnpfkjPZ4yPM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nC/IV5CSikVcFD92Ww8OR9pedo65XnElLOKkh2lDSp8=; b=ilePNykr0bBvOR6GkJB6I4gP+3TxHD1Kx+4/NSE7M19/VIccWRjmwsuEajO/E6XP5M QKlBqv6Ne/3EhM1/5pPoYAU26/b1zqNej6bl9DszhATLoY8jc6IyyvG8N4BhBIK1vKD0 jz/f1nLSMoD6wY5EF0/nCCho3CPefC/Qo+0tcUfIgxh5MSSp2rNejO4Dld/ILPA7wu0b abcdLNHqeYN6qozZ2ETnNUr87NNibbAFcOJXbwnokCQBtER6awNur0YDABoI4fySv9E3 U3l9eMnOUEMCb9ir8/Gjsm5RMoYJPqD21a/GkgxMnmSFRobhALdZVZnKmpy9/q4O2/VC tmcA== X-Gm-Message-State: AO0yUKXGuRr+SXs+q7K6KUT6ucK5x+ubEuGl3dYyaTAH3alMTm9t8DQs Xev54H+gDDJ5vY3MiRfr+WIXwA== X-Google-Smtp-Source: AK7set8SdkBgwun/6MfApAU2iUlrWyH9MBGt2VrxM3BeLRuNtu0BLzGYDEJKLzgLW8tYvKoVz+v4VA== X-Received: by 2002:a05:6e02:12e1:b0:310:ff8c:6844 with SMTP id l1-20020a056e0212e100b00310ff8c6844mr313978iln.2.1675097719102; Mon, 30 Jan 2023 08:55:19 -0800 (PST) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id l17-20020a026a11000000b003a951542b10sm4909428jac.60.2023.01.30.08.55.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Jan 2023 08:55:18 -0800 (PST) Message-ID: <63cf4999-5dbe-a191-8367-b2a359cfd024@linuxfoundation.org> Date: Mon, 30 Jan 2023 09:55:17 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 28/34] selftests: vm: Fix incorrect kernel headers search path Content-Language: en-US To: Mathieu Desnoyers , Shuah Khan , linux-kselftest@vger.kernel.org, Ingo Molnar , Andrew Morton Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Shuah Khan , Linux Memory Management List References: <20230127135755.79929-1-mathieu.desnoyers@efficios.com> <20230127135755.79929-29-mathieu.desnoyers@efficios.com> From: Shuah Khan In-Reply-To: <20230127135755.79929-29-mathieu.desnoyers@efficios.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/27/23 06:57, Mathieu Desnoyers wrote: > Use $(KHDR_INCLUDES) as lookup path for kernel headers. This prevents > building against kernel headers from the build environment in scenarios > where kernel headers are installed into a specific output directory > (O=...). > > Signed-off-by: Mathieu Desnoyers > Cc: Shuah Khan > Cc: linux-kselftest@vger.kernel.org > Cc: Ingo Molnar > Cc: [5.18+] > --- > tools/testing/selftests/vm/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/vm/Makefile b/tools/testing/selftests/vm/Makefile > index 89c14e41bd43..ac9366065fd2 100644 > --- a/tools/testing/selftests/vm/Makefile > +++ b/tools/testing/selftests/vm/Makefile > @@ -25,7 +25,7 @@ MACHINE ?= $(shell echo $(uname_M) | sed -e 's/aarch64.*/arm64/' -e 's/ppc64.*/p > # LDLIBS. > MAKEFLAGS += --no-builtin-rules > > -CFLAGS = -Wall -I $(top_srcdir) -I $(top_srcdir)/usr/include $(EXTRA_CFLAGS) $(KHDR_INCLUDES) > +CFLAGS = -Wall -I $(top_srcdir) $(EXTRA_CFLAGS) $(KHDR_INCLUDES) > LDLIBS = -lrt -lpthread > TEST_GEN_FILES = cow > TEST_GEN_FILES += compaction_test Adding mm maintainers. Andrew, Would you me to take this patch through kselftest tree? If you decide to take this through yours: Acked-by: Shuah Khan thanks, -- Shuah