public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Jack Steiner <steiner@sgi.com>
Cc: shijie8@gmail.com, cl@linux-foundation.org, mingo@elte.hu,
	tglx@linutronix.de, linux-kernel@vger.kernel.org
Subject: Re: Failure in pcpu_extend_area_map()
Date: Fri, 10 Sep 2010 12:19:20 +0200	[thread overview]
Message-ID: <4C8A0628.9010601@kernel.org> (raw)
In-Reply-To: <20100909214058.GA9650@sgi.com>

Hello,

On 09/09/2010 11:40 PM, Jack Steiner wrote:
> We have started to see failures in the percpu allocator in recent
> linux-next kernels. Failures seem to occur immediately
> after pcpu_chunk_relocate() is called to relocate a chunk from slot
> 10 in pcpu_slot[] to slot 0.
> 
> It appears that the list_for_each_entry() in pcpu_alloc() fails
> after pcpu_chunk_relocate() does the list_move().
> 
> 
> Call tree is:
> 	pcpu_alloc -> pcpu_alloc_area -> pcpu_chunk_relocate 	(at end of function - /* fully scanned */)
> 
> 
> Adding the following patch fixes the problem but I suspect this is not the proper
> fix. Has anyone else seen this this failure?

I've been trying to reproduce it but without success yet.  Can you
please attach .config you're using?  How reproducible is the problem?
If it's reliably reproducible, can you please check whether the
offending chunk (which gets moved to slot 0 before crash) equals
pcpu_first_chunk?

Thanks.

-- 
tejun

      reply	other threads:[~2010-09-10 10:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-09 21:40 Failure in pcpu_extend_area_map() Jack Steiner
2010-09-10 10:19 ` Tejun Heo [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=4C8A0628.9010601@kernel.org \
    --to=tj@kernel.org \
    --cc=cl@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=shijie8@gmail.com \
    --cc=steiner@sgi.com \
    --cc=tglx@linutronix.de \
    /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