Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1300159
| From | "Serge E. Hallyn" <serge.hallyn@ubuntu.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: cgroup: BUG: unable to handle kernel NULL pointer dereference |
| Date | 2016-01-03 02:10 +0100 |
| Message-ID | <qMFlg-75N-3@gated-at.bofh.it> (permalink) |
| References | <qMt0L-7Eq-25@gated-at.bofh.it> <qMt0L-7Eq-23@gated-at.bofh.it> <qMz69-37P-7@gated-at.bofh.it> <qMCno-52x-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Jan 02, 2016 at 01:50:49PM -0800, Jeremiah Mahler wrote: > Serge, > > On Sat, Jan 02, 2016 at 12:24:16PM -0600, Serge E. Hallyn wrote: > [...] > > > > Tried to reproduce with setting CONFIG_CFQ_GROUP_IOSCHED=y, but did not > > succeed. Could you send me the .config? Also, if someone could send > > the objdump -d output that might help. Though really, it seems clear > > that current->nsproxy must be NULL. Hm, that's right - we used to have > > that issue in pidns (or was it netns) during process exit. I don't know > > that I'll get time this afternoon, but I'll look into it asap. > > > > thanks. > > Attached is the .config I used. I can send an objdump, but do you want > a dump of the kernel, where the cgroup code is? > > -- > - Jeremiah Mahler Thanks - Shoulda looked at the exit path before - exit_io_context is called after exit_task_namespaces(). I'll have to figure out the best way to handle this. In the past we've restructured exit code to ensure that anything wanting to dereference nsproxy happened before exit_task_namespaces(). However, this is only happening in a debug stmt at blkg_path() in http://lxr.free-electrons.com/source/include/linux/blk-cgroup.h#L344 so simply returning the init_cgroup_namespace is actually the right thing to do. I'm tempted to add a init_cgroup_path() which ignores namespaces, for use in debugging statements. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: cgroup: BUG: unable to handle kernel NULL pointer dereference Tejun Heo <tj@kernel.org> - 2016-01-02 13:00 +0100
Re: cgroup: BUG: unable to handle kernel NULL pointer dereference "Serge E. Hallyn" <serge.hallyn@ubuntu.com> - 2016-01-02 19:30 +0100
Re: cgroup: BUG: unable to handle kernel NULL pointer dereference "Serge E. Hallyn" <serge.hallyn@ubuntu.com> - 2016-01-03 02:10 +0100
Re: cgroup: BUG: unable to handle kernel NULL pointer dereference "Serge E. Hallyn" <serge.hallyn@ubuntu.com> - 2016-01-03 04:50 +0100
Re: cgroup: BUG: unable to handle kernel NULL pointer dereference Tejun Heo <tj@kernel.org> - 2016-01-04 20:20 +0100
Re: cgroup: BUG: unable to handle kernel NULL pointer dereference "Serge E. Hallyn" <serge.hallyn@ubuntu.com> - 2016-01-04 20:20 +0100
csiph-web