[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161014002441.GG32534@mtj.duckdns.org>
Date: Thu, 13 Oct 2016 20:24:41 -0400
From: Tejun Heo <tj@...nel.org>
To: zijun_hu <zijun_hu@...o.com>
Cc: zijun_hu@....com, linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>, cl@...ux.com
Subject: Re: [RFC v2 PATCH] mm/percpu.c: fix panic triggered by BUG_ON()
falsely
Hello,
On Fri, Oct 14, 2016 at 08:06:10AM +0800, zijun_hu wrote:
> > I really can't decode what the actual issue is here. Can you please
> > give an example of a concrete case?
> >
> the right relationship between the number of CPUs @nr_cpus within a percpu group
> and the number of unites @nr_units within the same group is that
> @nr_units == roundup(@nr_cpus, @upa);
My question was whether there can be actual hardware configurations
where this code can fail and if so what they look like and how they
would fail.
Thanks.
--
tejun
Powered by blists - more mailing lists