Re: slab corruption in test9 (NFS related?)

From: Trond Myklebust
Date: Sun Nov 09 2003 - 23:42:52 EST


>>>>> " " == Linus Torvalds <torvalds@xxxxxxxx> writes:

> In other words, your patch certainly looks obviously correct,
> but it also looks _so_ obviously correct that my alarm bells
> are going off. If the code was quite that broken at counting
> dentries, how the hell did it ever work AT ALL?

Given that d_free() now uses rcu, and hence defers the actual call to
kmem_cache_free(), might that not suffice to explain why actual
consequences are rare?

Cheers,
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/