linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Jet Chen <jet.chen@intel.com>
Cc: Fengguang Wu <fengguang.wu@intel.com>,
	Yuanhan Liu <yuanhan.liu@intel.com>,
	lkp@01.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [idr] WARNING: at lib/idr.c:669 idr_find_slowpath()
Date: Tue, 17 Jun 2014 15:08:55 -0400	[thread overview]
Message-ID: <20140617190855.GN31819@htj.dyndns.org> (raw)
In-Reply-To: <539AB2F4.1040700@intel.com>

On Fri, Jun 13, 2014 at 04:14:44PM +0800, Jet Chen wrote:
> Hi Tejun,
> 
> 0day kernel testing robot got the below dmesg and the first bad commit is
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> commit 0ffc2a9c8072969253a20821c2c733a2cbb4c7c7
> Author:     Tejun Heo <tj@kernel.org>
> AuthorDate: Wed Feb 27 17:05:08 2013 -0800
> Commit:     Linus Torvalds <torvalds@linux-foundation.org>
> CommitDate: Wed Feb 27 19:10:21 2013 -0800
> 
>     idr: implement lookup hint
...
> [   17.603698] sock: process `trinity-main' is using obsolete setsockopt SO_BSDCOMPAT
> [   17.798944] ------------[ cut here ]------------
> [   17.798972] WARNING: at lib/idr.c:669 idr_find_slowpath+0x28/0xca()
> [   17.798973] Hardware name: Bochs
> [   17.798976] Pid: 655, comm: trinity-main Not tainted 3.8.0-06482-g0ffc2a9 #68
> [   17.798976] Call Trace:
> [   17.798989]  [<c022ace6>] warn_slowpath_common+0x72/0x89
> [   17.798992]  [<c051f001>] ? idr_find_slowpath+0x28/0xca
> [   17.798994]  [<c051f001>] ? idr_find_slowpath+0x28/0xca
> [   17.798997]  [<c022ad9b>] warn_slowpath_null+0x1d/0x1f
> [   17.798999]  [<c051f001>] idr_find_slowpath+0x28/0xca
> [   17.799007]  [<c027fab7>] perf_init_event+0x82/0x124
> [   17.799013]  [<c024321f>] ? __mutex_init+0x3f/0x44
> [   17.799015]  [<c027fda9>] perf_event_alloc+0x250/0x360
> [   17.799018]  [<c028040e>] sys_perf_event_open+0x336/0x664
> [   17.799036]  [<c0944280>] syscall_call+0x7/0xb
> [   17.799042]  [<c0940000>] ? SetAgcIf.isra.6+0x156/0x290
> [   17.799043] ---[ end trace 8e00e88be2b81021 ]---
> [   76.161086] Unregister pv shared memory for cpu 0

This is perf_init_event() invoking idr_find() with negative ID
triggering the warning.  The warning was removed quite some time ago.

Thanks.

-- 
tejun

      reply	other threads:[~2014-06-17 19:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-13  8:14 [idr] WARNING: at lib/idr.c:669 idr_find_slowpath() Jet Chen
2014-06-17 19:08 ` 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=20140617190855.GN31819@htj.dyndns.org \
    --to=tj@kernel.org \
    --cc=fengguang.wu@intel.com \
    --cc=jet.chen@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@01.org \
    --cc=yuanhan.liu@intel.com \
    /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).