All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Richard W.M. Jones" <rjones-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Josh Boyer
	<jwboyer-rxtnV0ftBwyoClj4AeEUq9i2O/JbrIOy@public.gmane.org>,
	Jeff Moyer <jmoyer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	msnitzer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
	Li Zefan <lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>,
	Johannes Weiner <hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org>,
	cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	"Linux-Kernel@Vger. Kernel. Org"
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: __blkg_lookup oops with 4.2-rcX
Date: Sat, 5 Sep 2015 16:48:40 +0100	[thread overview]
Message-ID: <20150905154840.GA19460@redhat.com> (raw)
In-Reply-To: <20150905153439.GA18461-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

On Sat, Sep 05, 2015 at 04:34:39PM +0100, Richard W.M. Jones wrote:
> [   52.259269] BUG: unable to handle kernel NULL pointer dereference at 00000000000009c8
> [   52.259269] IP: [<ffffffff813f8b10>] __blkg_lookup+0x40/0xe0

And also:

$ addr2line -e /usr/lib/debug/lib/modules/4.3.0-0.rc0.git7.1.rwmj3.fc24.x86_64/vmlinux ffffffff813f8b10
/usr/src/debug/kernel-4.2.fc24/linux-4.3.0-0.rc0.git7.1.rwmj3.fc24.x86_64/block/blk-cgroup.c:158

    152         /*
    153          * Hint didn't match.  Look up from the radix tree.  Note that the
    154          * hint can only be updated under queue_lock as otherwise @blkg
    155          * could have already been removed from blkg_tree.  The caller is
    156          * responsible for grabbing queue_lock if @update_hint.
    157          */
    158         blkg = radix_tree_lookup(&blkcg->blkg_tree, q->id);
    159         if (blkg && blkg->q == q) {
    160                 if (update_hint) {
    161                         lockdep_assert_held(q->queue_lock);
    162                         rcu_assign_pointer(blkcg->blkg_hint, blkg);
    163                 }
    164                 return blkg;
    165         }

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org

WARNING: multiple messages have this Message-ID (diff)
From: "Richard W.M. Jones" <rjones@redhat.com>
To: Tejun Heo <tj@kernel.org>
Cc: Josh Boyer <jwboyer@fedoraproject.org>,
	Jeff Moyer <jmoyer@redhat.com>,
	msnitzer@redhat.com, Li Zefan <lizefan@huawei.com>,
	Johannes Weiner <hannes@cmpxchg.org>,
	cgroups@vger.kernel.org,
	"Linux-Kernel@Vger. Kernel. Org" <linux-kernel@vger.kernel.org>
Subject: Re: __blkg_lookup oops with 4.2-rcX
Date: Sat, 5 Sep 2015 16:48:40 +0100	[thread overview]
Message-ID: <20150905154840.GA19460@redhat.com> (raw)
In-Reply-To: <20150905153439.GA18461@redhat.com>

On Sat, Sep 05, 2015 at 04:34:39PM +0100, Richard W.M. Jones wrote:
> [   52.259269] BUG: unable to handle kernel NULL pointer dereference at 00000000000009c8
> [   52.259269] IP: [<ffffffff813f8b10>] __blkg_lookup+0x40/0xe0

And also:

$ addr2line -e /usr/lib/debug/lib/modules/4.3.0-0.rc0.git7.1.rwmj3.fc24.x86_64/vmlinux ffffffff813f8b10
/usr/src/debug/kernel-4.2.fc24/linux-4.3.0-0.rc0.git7.1.rwmj3.fc24.x86_64/block/blk-cgroup.c:158

    152         /*
    153          * Hint didn't match.  Look up from the radix tree.  Note that the
    154          * hint can only be updated under queue_lock as otherwise @blkg
    155          * could have already been removed from blkg_tree.  The caller is
    156          * responsible for grabbing queue_lock if @update_hint.
    157          */
    158         blkg = radix_tree_lookup(&blkcg->blkg_tree, q->id);
    159         if (blkg && blkg->q == q) {
    160                 if (update_hint) {
    161                         lockdep_assert_held(q->queue_lock);
    162                         rcu_assign_pointer(blkcg->blkg_hint, blkg);
    163                 }
    164                 return blkg;
    165         }

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org

  parent reply	other threads:[~2015-09-05 15:48 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-30 12:30 __blkg_lookup oops with 4.2-rcX Josh Boyer
2015-08-30 12:30 ` Josh Boyer
2015-08-30 18:04 ` Richard W.M. Jones
2015-09-02 14:53 ` Tejun Heo
     [not found]   ` <20150902145307.GG22326-qYNAdHglDFBN0TnZuCh8vA@public.gmane.org>
2015-09-02 15:32     ` Tejun Heo
2015-09-02 15:32       ` Tejun Heo
2015-09-04 10:46       ` Richard W.M. Jones
     [not found]         ` <20150904104602.GN29283-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-04 17:13           ` Tejun Heo
2015-09-04 17:13             ` Tejun Heo
     [not found]             ` <20150904171302.GE25329-qYNAdHglDFBN0TnZuCh8vA@public.gmane.org>
2015-09-04 18:17               ` Richard W.M. Jones
2015-09-04 18:17                 ` Richard W.M. Jones
2015-09-04 20:42               ` Richard W.M. Jones
2015-09-04 20:42                 ` Richard W.M. Jones
2015-09-05 15:34                 ` Richard W.M. Jones
     [not found]                   ` <20150905153439.GA18461-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-05 15:48                     ` Richard W.M. Jones [this message]
2015-09-05 15:48                       ` Richard W.M. Jones
     [not found]                       ` <20150905154840.GA19460-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-09-05 18:38                         ` Tejun Heo
2015-09-05 18:38                           ` Tejun Heo
     [not found]                           ` <20150905183801.GA8231-qYNAdHglDFBN0TnZuCh8vA@public.gmane.org>
2015-09-05 19:47                             ` [PATCH block/for-linus] block: blkg_destroy_all() should clear q->root_blkg and ->root_rl.blkg Tejun Heo
2015-09-05 19:47                               ` Tejun Heo
2015-09-06  8:30                               ` Richard W.M. Jones
     [not found]                               ` <20150905194736.GB8231-qYNAdHglDFBN0TnZuCh8vA@public.gmane.org>
2015-09-08 15:31                                 ` Tejun Heo
2015-09-08 15:31                                   ` Tejun Heo
2015-09-08 15:35                                   ` Jens Axboe

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=20150905154840.GA19460@redhat.com \
    --to=rjones-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org \
    --cc=jmoyer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=jwboyer-rxtnV0ftBwyoClj4AeEUq9i2O/JbrIOy@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
    --cc=msnitzer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.