linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Andrew Morton <akpm@linux-foundation.org>,
	Sasha Levin <sashal@kernel.org>
Cc: Michal Hocko <mhocko@kernel.org>, Hugh Dickins <hughd@google.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Mike Kravetz <mike.kravetz@oracle.com>,
	Miaohe Lin <linmiaohe@huawei.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	stable@vger.kernel.org
Subject: Re: 5.13.2-rc and others have many not for stable
Date: Wed, 14 Jul 2021 15:23:50 +0200	[thread overview]
Message-ID: <YO7lZpqC4xrMPXQg@kroah.com> (raw)
In-Reply-To: <YO6r1k7CIl16o61z@kroah.com>

On Wed, Jul 14, 2021 at 11:18:14AM +0200, Greg Kroah-Hartman wrote:
> On Tue, Jul 13, 2021 at 06:28:13PM -0700, Andrew Morton wrote:
> > On Tue, 13 Jul 2021 08:31:57 +0200 Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
> > 
> > > 
> > > > Amongst the 2000+ patches posted today, there are a significant number
> > > > of them Signed-off-by Andrew, Signed-off-by Linus, Signed-off-by Sasha:
> > > > yet never Cc'ed to stable (nor even posted as AUTOSELs, I think).
> > > > 
> > > > Am I out of date?  I thought that had been agreed not to happen:
> > > > https://lore.kernel.org/linux-mm/20190808000533.7701-1-mike.kravetz@oracle.com/
> > > > is the thread I found when I looked for confirmation, but I believe the
> > > > same has been agreed before and since too.
> > > > 
> > > > Andrew goes to a lot of trouble to establish which Fixes from his tree
> > > > ought to go to stable.  Of course there will be exceptions which we
> > > > later decide should go in after all; but it's worrying when there's a
> > > > wholesale breach like this, and I think most of them should be dropped.
> > > > 
> > > > To pick on just one of many examples (sorry Miaohe!), a patch that
> > > > surprises me, but I've not had time to look into so far, and would
> > > > not want accelerated into X stable releases, 385/800
> > > > 
> > > > > Miaohe Lin <linmiaohe@huawei.com>
> > > > >     mm/shmem: fix shmem_swapin() race with swapoff
> > > 
> > > Sasha, and I, take patches from Linus's tree like the above one that
> > > have "Fixes:" tags in them as many many maintainers do not remember to
> > > put "cc: stable" on their patches.
> > 
> > As do many many developers.  I always check.
> > 
> > > The above patch says it fixes a problem in the 5.1 kernel release, so
> > > Sasha queued it up for 5.10, 5.12, and 5.13.  Odds are he should have
> > > also sent a "FAILED" notice for 5.4, but we don't always do that for
> > > patches only with a Fixes tag all the time as we only have so much we
> > > can do...
> > > 
> > > So is that tag incorrect?  If not, why was it not cc: stable?  Why is it
> > > not valid for a stable release?
> > 
> > Usually because we judged that the seriousness of the problem did not
> > justify the risk & churn of backporting its fix.
> > 
> > >  So far, all automated testing seems to
> > > show that there are no regressions in these releases with these commits
> > > in them.  If there was a problem, how would it show up?
> > > 
> > > And as far as I know, mm/ stuff is still not triggered by the AUTOSEL
> > > bot, but that is not what caused this commit to be added to a stable
> > > release.
> > > 
> > > Trying to keep a "do not apply" list for Fixes: tags only is much harder
> > > for both of us as we do these semi-manually and review them
> > > individually.  Trying to remember what subsystem only does Fixes tags
> > > yet really doesn't mean it is an impossible task.
> > 
> > Well, it shouldn't be super hard to skip all patches which have Fixes:,
> > Signed-off-by:akpm and no cc:stable?
> 
> Ok, I will do this now (goes and writes this down...)
> 
> But it really feels odd that you all take the time to add a "Hey, this
> fixes this specific commit!" tag in the changelog, yet you do not
> actually want to go and fix the kernels that have that commit in it.
> This is an odd signal to others that watch the changelogs for context
> clues.  Perhaps you might not want to do that anymore.

I looked at some of these patches and it seems really odd to me that you
all are marking them with Fixes: tags, but do not want them backported.

First example is babbbdd08af9 ("mm/huge_memory.c: don't discard hugepage
if other processes are mapping it")

Why is this not ok to backport?

Also what about e6be37b2e7bd ("mm/huge_memory.c: add missing read-only
THP checking in transparent_hugepage_enabled()")?

And 41eb5df1cbc9 ("mm: memcg/slab: properly set up gfp flags for objcg
pointer array")?

And 6acfb5ba150c ("mm: migrate: fix missing update page_private to
hugetlb_page_subpool")?

And 832b50725373 ("mm: mmap_lock: use local locks instead of disabling
preemption")? (the RT people want that...)

And f7ec104458e0 ("mm/page_alloc: fix counting of managed_pages")?

Do you want to rely on systems where these fixes are not applied?

I can understand if you all want to send them to us later after they
have been "tested out" in Linus's tree, that's fine, but to just not
want them applied at all feels odd to me.

thanks,

greg k-h


  reply	other threads:[~2021-07-14 13:23 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-13  5:55 5.13.2-rc and others have many not for stable Hugh Dickins
2021-07-13  6:31 ` Greg Kroah-Hartman
2021-07-13  7:20   ` Greg Kroah-Hartman
2021-07-14  1:28   ` Andrew Morton
2021-07-14  7:24     ` Jiri Slaby
2021-07-14  7:52     ` Michal Hocko
2021-07-14 15:30       ` Sasha Levin
2021-07-15  7:07         ` Michal Hocko
2021-07-15 15:57         ` Justin Forbes
2021-07-14  9:18     ` Greg Kroah-Hartman
2021-07-14 13:23       ` Greg Kroah-Hartman [this message]
2021-07-14 21:09         ` Andrew Morton
2021-07-15 10:39         ` Mel Gorman
2021-07-14 13:52       ` Sasha Levin
2021-07-14 15:35         ` Theodore Y. Ts'o
2021-07-14 15:43           ` Greg Kroah-Hartman
2021-07-14 15:46           ` Greg Kroah-Hartman
2021-07-14 17:21             ` Theodore Y. Ts'o
2021-07-14 17:34               ` Greg Kroah-Hartman
2021-07-15  9:01                 ` Geert Uytterhoeven
2021-07-15 14:47                   ` Theodore Y. Ts'o
2021-07-15 15:03                     ` Geert Uytterhoeven

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=YO7lZpqC4xrMPXQg@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=hughd@google.com \
    --cc=linmiaohe@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@kernel.org \
    --cc=mike.kravetz@oracle.com \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=torvalds@linux-foundation.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;
as well as URLs for NNTP newsgroup(s).