lkml.org 
[lkml]   [2009]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] md: avoid use of broken kzalloc mempool
    On Mon, 3 Aug 2009, Andi Kleen wrote:
    > 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.

    That was my original proposal, but Andrew suggested it wasn't worth the
    added complexity for only 2 users (or actually, just 1). See this thread:

    http://marc.info/?l=linux-mm&m=124933189913260&w=2

    sage


    \
     
     \ /
      Last update: 2009-08-03 23:31    [W:0.022 / U:29.304 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site