From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="WL1ZZUAi" Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47AE4FE for ; Mon, 11 Dec 2023 08:15:26 -0800 (PST) Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-5d34f8f211fso45268157b3.0 for ; Mon, 11 Dec 2023 08:15:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1702311325; x=1702916125; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=fnRSD+sBsefYYvzn3oBRGskx6xnKDW8P+HTWAzvULNU=; b=WL1ZZUAiHI3jgra1bD3B0ZPJ4M8B2vD6DgLOkWeDTst2+Vp15GKXhSfBYuhwURIoJe hSnt9KjWm5kY4+iJZml9qKbwHnM1vVJZhKTi8zzlYcifMGm5NSm/nU/Ba3JjbQoRIfel dpYl5avD1kTMoB5uQXrJ01mclOCcDTRmCkW02YA5WI7POdKbO3oigZhr8tarQEyBT+/e On7qNyOj0csaOO5VnIF+Loe57thEXJuzC0lvWd9vvO0SH3906PQiLICfrOrOh36jUW4a kwJMiyoHgQassjGvZ4SXcpY/kssjMkKC4xn1VumguyK+eqvZo3gQ38OwfTOXeJP8tJPK rNSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702311325; x=1702916125; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fnRSD+sBsefYYvzn3oBRGskx6xnKDW8P+HTWAzvULNU=; b=sAD4VDfS47T4f1ehWEzddrczHokAKze23C1rkkgeErm/n5/EGD8Qpq4XpoJlu36UZ7 RHBTCUWAeaHAL9p6lo+vOLW3FExXvBYMyoZOTHP4C8xMnL2bnawuWCcmxjBTdRvEkk/R KfdeqOJSHbN14X2138IJTdyq99tiMBlNCFGuNdJG/zdkbcWtUB3NZA8vWmPLUeQf5VWD KaNpKpHacjiXOB9MY+yWcJ+doGXH7Chf4a2nf3uDJ1/0J+W/HxxwnHA5boEZwrLNLrP4 rTaJsTP+xmXJUZjFg81gEL9pZGEnShM+L7Lo1DWOpbkyImukZptv6yKgaEvehvAYn4mZ COwQ== X-Gm-Message-State: AOJu0YwrPoIohE9fE5D1lBLIa8ilOd2oYA7rxmAeuDZHFy4nLyT4bmsd C4patSgNMUT69LRe+7qBg1bIa1lNt1pqbU/eRhKZLg== X-Google-Smtp-Source: AGHT+IFtvdYDtV18pDROt//QGcMAArJtde9LSDLbsQOqNXlre7oPEzwTXObS2vRBaJiNoebZprMpaahUpj+4Qgxz+Yw= X-Received: by 2002:a05:690c:3749:b0:5e1:8875:7cc2 with SMTP id fw9-20020a05690c374900b005e188757cc2mr464939ywb.15.1702311325143; Mon, 11 Dec 2023 08:15:25 -0800 (PST) Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231206103702.3873743-1-surenb@google.com> <20231206103702.3873743-6-surenb@google.com> <50385948-5eb4-47ea-87f8-add4265933d6@redhat.com> <6a34b0c9-e084-4928-b239-7af01c8d4479@sirena.org.uk> In-Reply-To: <6a34b0c9-e084-4928-b239-7af01c8d4479@sirena.org.uk> From: Suren Baghdasaryan Date: Mon, 11 Dec 2023 08:15:11 -0800 Message-ID: Subject: Re: [PATCH v6 5/5] selftests/mm: add UFFDIO_MOVE ioctl test To: Mark Brown Cc: David Hildenbrand , akpm@linux-foundation.org, viro@zeniv.linux.org.uk, brauner@kernel.org, shuah@kernel.org, aarcange@redhat.com, lokeshgidra@google.com, peterx@redhat.com, ryan.roberts@arm.com, hughd@google.com, mhocko@suse.com, axelrasmussen@google.com, rppt@kernel.org, willy@infradead.org, Liam.Howlett@oracle.com, jannh@google.com, zhangpeng362@huawei.com, bgeffon@google.com, kaleshsingh@google.com, ngeoffray@google.com, jdduke@google.com, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Dec 11, 2023 at 4:24=E2=80=AFAM Mark Brown wro= te: > > On Mon, Dec 11, 2023 at 01:03:27PM +0100, David Hildenbrand wrote: > > On 11.12.23 12:15, Mark Brown wrote: > > > > This is linux-next. I pasted the commands used to build and sent lin= ks > > > to a full build log in the original report. > > > Probably also related to "make headers-install": > > > https://lkml.kernel.org/r/20231209020144.244759-1-jhubbard@nvidia.com > > > The general problem is that some mm selftests are currently not written= in > > way that allows them to compile with old linux headers. That's why the = build > > fails if "make headers-install" was not executed, but it does not fail = if > > "make headers-install" was once upon a time executed, but the headers a= re > > outdated. > > Oh, it's obviously the new headers not being installed. The builds > where I'm seeing the problem (my own and KernelCI's) are all fresh > containers so there shouldn't be any stale headers lying around. Ok, I was updating my headers and that's why I could not reproduce it. David, should the test be modified to handle old linux headers (disable the new tests #ifndef _UFFDIO_MOVE or some other way)?