Re: [PATCH UPDATED 2/2] mempool: fix first round failure behavior

From: Tejun Heo
Date: Thu Dec 22 2011 - 10:58:19 EST


Hello,

On Thu, Dec 22, 2011 at 7:20 AM, Vivek Goyal <vgoyal@xxxxxxxxxx> wrote:
> Also mempool expects all the objects to be returned to the pool at the
> time of destroy. Given the fact that blkio groups are reference counted,
> theoritically they can be freed later.

I removed that part but no you still can't free objects after mempool
destruction refcnted or not. mempool is destructed on module unload.
Which text would free those objects? If that's theoretically possible,
the code is broken.

Thanks.

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