stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: dann frazier <dann.frazier@canonical.com>, stable@vger.kernel.org
Cc: Miao Xie <miaox@cn.fujitsu.com>,
	Valentin Schneider <valentin.schneider@arm.com>,
	Dietmar Eggemann <dietmar.eggemann@arm.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@kernel.org>,
	Vincent Guittot <vincent.guittot@linaro.org>,
	Barry Song <song.bao.hua@hisilicon.com>,
	John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
	Sergei Trofimovich <slyfox@gentoo.org>,
	Anatoly Pugachev <matorola@gmail.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5.10+5.4 2/3] sched/topology: Fix sched_domain_topology_level alloc in sched_init_numa()
Date: Sat, 05 Mar 2022 09:25:03 -0800	[thread overview]
Message-ID: <45c5acb0e72112d2c3cf6330b0037389073fa5f3.camel@perches.com> (raw)
In-Reply-To: <39660e162b54f241cdb571e0029c26d4596ec8e0.camel@perches.com>

On Sat, 2022-03-05 at 09:13 -0800, Joe Perches wrote:
> On Sat, 2022-03-05 at 09:44 -0700, dann frazier wrote:
> > From: Dietmar Eggemann <dietmar.eggemann@arm.com>
> > 
> > commit 71e5f6644fb2f3304fcb310145ded234a37e7cc1 upstream.
> > 
> > Commit "sched/topology: Make sched_init_numa() use a set for the
> > deduplicating sort" allocates 'i + nr_levels (level)' instead of
> > 'i + nr_levels + 1' sched_domain_topology_level.
> []
> > diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
> []
> > @@ -1655,7 +1655,7 @@ void sched_init_numa(void)
> >  	/* Compute default topology size */
> >  	for (i = 0; sched_domain_topology[i].mask; i++);
> 
> Thanks.

Oops.  Didn't notice this was for a stable backport.



  reply	other threads:[~2022-03-05 17:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-05 16:44 [PATCH 5.10+5.4 0/3] sched/topology: Fix missing scheduling domain levels dann frazier
2022-03-05 16:44 ` [PATCH 5.10+5.4 1/3] sched/topology: Make sched_init_numa() use a set for the deduplicating sort dann frazier
2022-03-05 16:44 ` [PATCH 5.10+5.4 2/3] sched/topology: Fix sched_domain_topology_level alloc in sched_init_numa() dann frazier
2022-03-05 17:13   ` Joe Perches
2022-03-05 17:25     ` Joe Perches [this message]
2022-03-05 16:48 ` [PATCH 5.10+5.4 3/3] ia64: ensure proper NUMA distance and possible map initialization dann frazier
2022-03-05 19:50 ` [PATCH 5.10+5.4 0/3] sched/topology: Fix missing scheduling domain levels Greg KH

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=45c5acb0e72112d2c3cf6330b0037389073fa5f3.camel@perches.com \
    --to=joe@perches.com \
    --cc=akpm@linux-foundation.org \
    --cc=dann.frazier@canonical.com \
    --cc=dietmar.eggemann@arm.com \
    --cc=glaubitz@physik.fu-berlin.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matorola@gmail.com \
    --cc=miaox@cn.fujitsu.com \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=slyfox@gentoo.org \
    --cc=song.bao.hua@hisilicon.com \
    --cc=stable@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=valentin.schneider@arm.com \
    --cc=vincent.guittot@linaro.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).