Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Hugh Dickins
Date: Sunday, September 28, 2008 - 12:28 pm

On Sun, 28 Sep 2008, Al Viro wrote:

I got a couple of earlier instances of this on powerpc
http://lkml.org/lkml/2008/8/14/289
but saw nothing more of it, so asked Al to forget about it.

But today I've got it again, this time on x86_64, with kdb in
(but not serial console), similar kernel builds with swapping
loads as before.  Though with Andrew's latest mmotm, so some
details different from 2.6.27-rc, and could be an mmotm bug.

The dentry in question (it's for /proc/sys/kernel/ngroups_max)
looks as if the __d_drop and d_kill of prune_one_dentry() came
in on one cpu just after __d_lookup() had found the entry on
parent's hashlist, just before it acquired dentry->d_lock.

That's plausible, isn't it, and would account for the rarity,
and would say Linus's patch is good?

Do ask me for any details you'd like out of the dentry.

Hugh
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50, Alexey Dobriyan, (Fri Sep 26, 8:20 am)
Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50, Linus Torvalds, (Fri Sep 26, 8:47 am)
Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50, Eric W. Biederman, (Sat Sep 27, 1:44 am)
Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50, Hugh Dickins, (Sun Sep 28, 12:28 pm)
Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50, Linus Torvalds, (Sun Sep 28, 1:38 pm)
Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50, Linus Torvalds, (Sun Sep 28, 1:46 pm)
Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50, Linus Torvalds, (Sun Sep 28, 1:50 pm)
Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50, Linus Torvalds, (Sun Sep 28, 1:55 pm)
Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50, Linus Torvalds, (Sun Sep 28, 1:59 pm)
Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50, Hugh Dickins, (Sun Sep 28, 3:07 pm)
Re: 2.6.27-rc7-sha1: EIP at proc_sys_compare+0x36/0x50, Eric W. Biederman, (Sun Sep 28, 8:05 pm)