Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "David Hildenbrand (Arm)" <david@kernel.org>
To: "Sverdlin, Alexander" <alexander.sverdlin@siemens.com>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>
Cc: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"vbabka@kernel.org" <vbabka@kernel.org>,
	"liam@infradead.org" <liam@infradead.org>,
	"mhocko@suse.com" <mhocko@suse.com>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>,
	"rppt@kernel.org" <rppt@kernel.org>
Subject: Re: [PATCH] mm/mmu_notifier: convert !CONFIG_MMU_NOTIFIER range_init stubs to inline
Date: Wed, 2 Dec 2026 16:15:12 +0100	[thread overview]
Message-ID: <e088d36a-c052-4c8b-8070-8e7d938c3e79@kernel.org> (raw)
In-Reply-To: <e71d7f218084f3db77881856740a7b2186ed0520.camel@siemens.com>

>>> Now it probably doesn't make sense to address this issue as -stable
>>> patch only, because these macros would probably cause issues again
>>> and again until converted, that's why "master" commit. 
>>
>> If no build in mainline is broken, why should we care and why would it "cause
>> issues again"?
> 
> Because a macro disguised as a function ignores most of its arguments
> and causes warnings at perfectly valid call-sites and even worse, not
> when original developers build with CONFIG_MMU_NOTIFIER, but after
> the code has been merged and being built elsewhere without
> CONFIG_MMU_NOTIFIER?

We do that all of the time, and we fix it when it's a real problem upstream.

I'm happy with having this as a cleanup (if you switch to two-tab indent ons
econd parameter line etc).

But it will neither carry a Fixes: or stable.

Because that's a stable-only issue.

You can then send a backport request for that commit once it's upstream.

-- 
Cheers,

David


      reply	other threads:[~2026-12-02 15:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 12:15 [PATCH] mm/mmu_notifier: convert !CONFIG_MMU_NOTIFIER range_init stubs to inline A. Sverdlin
2026-12-02 12:43 ` David Hildenbrand (Arm)
2026-12-02 13:10   ` Sverdlin, Alexander
2026-12-02 13:22     ` David Hildenbrand (Arm)
2026-12-02 14:40       ` Sverdlin, Alexander
2026-12-02 15:15         ` David Hildenbrand (Arm) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e088d36a-c052-4c8b-8070-8e7d938c3e79@kernel.org \
    --to=david@kernel.org \
    --cc=alexander.sverdlin@siemens.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=liam@infradead.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@suse.com \
    --cc=rppt@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=vbabka@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox