Re: [PATCH 1/2] Disk hot removal causing oopses and fixes
From: Stefan Richter
Date: Wed Oct 21 2009 - 17:19:53 EST
Stefan Richter wrote:
> I dare say without knowing the MMC and block system: It is not a
> locking issue, it is a reference counting issue.
[...]
> The whole secret is not to forget to count _all_ references.
PS, in case that it might be needed: Sometimes a low level wants to
wait for the moment until its upper level users went away. Reference
counting is then coupled with constructs like wait_for_completion then.
--
Stefan Richter
-=====-==--= =-=- =-=-=
http://arcgraph.de/sr/
--
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/