From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f201.google.com (mail-dy1-f201.google.com [74.125.82.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5939833E379 for ; Wed, 22 Apr 2026 19:02:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776884539; cv=none; b=ZboVoycvFNRhzJI2kI3332Q0Xz1GSGu93bwIXd78iJT2+kR43/+kGhh4PxmIxMzjQTg0WgRhFeiqvxj3gdel5aWxKv7RBU67x6iK74f+2cdCNUMkmWp6Z2z81YQdbw1wPyBOBi7WJwhDuy2AIVmD3aHkMjMRpxGFwl+6wIWvKNw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776884539; c=relaxed/simple; bh=oX2UgTQyC0xY1S+nIJWmxZcQKiEwEiyjaK+gomi7Dlc=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=eZyZFfej9LH7seeE5gN3hsjFXE0s2vWtp4dKEfJ8Go5Yhaep7h5LQaRl8jTixMww4kywveS1IW//vlrlONOdL0kZwIIJv+bRI1HMoo7VtQnkWfShef042PQOnEhUDKjWk1jsKQ+KBsTiPXXJzd6MSZ1cqEV9Gmv3QO/ojBOh0iI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--pratmal.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=ubps6fSW; arc=none smtp.client-ip=74.125.82.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--pratmal.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ubps6fSW" Received: by mail-dy1-f201.google.com with SMTP id 5a478bee46e88-2d8a677cdfaso6158803eec.1 for ; Wed, 22 Apr 2026 12:02:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1776884521; x=1777489321; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=UK/b3kF9CVImcy9Ye51I67Qy3lRyYOCKL572pRP5aNA=; b=ubps6fSWIgN5KMb3wsv3ZpPG1RH9ahe/r77nnkG9Y2L9jCRCCZzRS3BN1pcLQPWMlB 6ZJdwQ+cPfJtPnG4n/CmzISNbyObKUeGKT/qo4zDgyQf2nS12AxyCqLdBQgGTyRqTCBi LhMYf+wiSgO2DoUG1Jp9lusL5jJ2ktwQMZic0Bj6n9l2YWd44wAdg2BLFj1K1llf2jDM 6QxN0Ccs4BGmFkW4lpxg6gNpr6u0gLzSdDMTyP7/yC/ahHFySbYCxQ8QmV0LCaiRAJnY XEFRjWYyPA0WCstS+LZY4QCimCX/RCiNFid5hZrDmy24DbUy/n+hu7QMtXwRkA8K2KFw uJpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776884521; x=1777489321; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UK/b3kF9CVImcy9Ye51I67Qy3lRyYOCKL572pRP5aNA=; b=K1sS4ntmmGdjMKX6U8ihqkW8a62PZ/gsVNlwmYBUbotwHUrtdK+6kbl/YjlF727VPN sxEy67eygp7d84m5FuY15PXR37Fr/yCqRSkKoP1o+UiUZ0K9JP8reG1IS/S6u13uiZlp jfRa6rgdA9ldwplmoYRfN+pluonTDitPTSxvCqE5PiShUR2lXlIInWsaCs2ijZ4ZAFUj Pln0Cuxp9hReIJhpz9TycUWcRPUUkA9Hvczt0sFv1evA+N1Vp2FtE59Ftbfo/aubu8Xx 7nVvtjKC5w/z6W/Qh8uYED6Gts9y+IGOAAkBLXu+l2gaFWnVBRxmnntOoMazY0O/I+/2 Mv/g== X-Forwarded-Encrypted: i=1; AFNElJ8JlCTpsbmole9spKrGFHsJcLW5H4esRz1sBAhM02Mj7vqRoUljlcKgS7aTska0f80S+Mnzr+zyZr8SNz0=@vger.kernel.org X-Gm-Message-State: AOJu0Yx2ILb44b7nif4MSMu5+yIlWCqPHW/08CbAd+x0XhuPFQFzZX2H 5nhC15IFZNiwUyHD3+bCXFgSAmwgQ5vOOPjp+ftHrf+Y5FcguoFQZPRfzPcIoM5yRaeolWdv/IK uLKJS17zkmQ== X-Received: from dlec2-n1.prod.google.com ([2002:a05:701b:4282:10b0:12c:4ced:d080]) (user=pratmal job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7022:7f13:b0:12c:873f:eba3 with SMTP id a92af1059eb24-12c873fef0fmr4642699c88.8.1776884520768; Wed, 22 Apr 2026 12:02:00 -0700 (PDT) Date: Wed, 22 Apr 2026 19:01:59 +0000 In-Reply-To: <03a23a7a-58fe-42f4-a294-9d688ce33e2d@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <03a23a7a-58fe-42f4-a294-9d688ce33e2d@kernel.org> X-Mailer: git-send-email 2.54.0.rc2.533.g4f5dca5207-goog Message-ID: <20260422190159.214830-1-pratmal@google.com> Subject: Re: [RFC PATCH] selftests/mm: use pattern matching in .gitignore From: pratmal@google.com To: david@redhat.com Cc: akpm@linux-foundation.org, shuah@kernel.org, yosryahmed@google.com, ljs@kernel.org, Liam.Howlett@oracle.com, vbabka@suse.cz, rppt@kernel.org, surenb@google.com, mhocko@suse.com, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On 4/22/26 18:04, David Hildenbrand (Arm) wrote: > On 4/21/26 20:30, pratmal@google.com wrote: >> From: Pratyush Mallick >> >> The current .gitignore hardcodes each generated test binary by name, >> requiring updates every time a new test is added. >> >> Switch to the patten-matching approach similar to KVM:selftests. >> Ignore everything by default and then allow source extensions (.c, .h, .sh) >> and tracked non-source files. > That looks pretty nice. Any reason for the RFC? (iow, are you unsure about some > side-effects?) Exactly that. I verified that the build works fine, however I sent it as an RFC just to be cautious. I wanted to get some feedback in case this might introduce some unwanted behavior that I'm not aware of. :) Thanks, Pratyush