Re: [PATCH] dio: remove bogus refcounting BUG_ON

From: Zach Brown
Date: Thu Jul 05 2007 - 13:12:26 EST


the BUG_ON(). But unfortunately, our perf. team is able reproduce the
problem.

What are they doing to reproduce it? How much setup does it take?

Debug indicated that, the ret2 == 1 :(

That could be consistent with the theory that we're racing with the dio struct being freed and reused before it's tested in the BUG_ON() condition. Suparna's suggestion to sample dio->is_async before releasing the refcount and using that in the BUG_ON condition is a good one.

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