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
--