Messages in this thread |  | | | Subject | Re: [PATCH] md: avoid use of broken kzalloc mempool | | From | Andi Kleen <> | | Date | Mon, 03 Aug 2009 23:13:46 +0200 |
| |
Sage Weil <sage@newdream.net> writes:
> The kzalloc mempool does not re-zero items that have been used and then > returned to the pool. Manually zero the allocated multipath_bh instead.
Why not fix that in mempool instead? That would seem like the right place to fix such a bug, instead of adding workarounds to all callers.
-Andi
-- ak@linux.intel.com -- Speaking for myself only.
|  |