[dm-devel] [PATCH] dm.c : Per-device caches

Kevin Corry corryk at us.ibm.com
Mon Jan 13 12:12:02 UTC 2003


On Monday 13 January 2003 11:50, Joe Thornber wrote:
> On Mon, Jan 13, 2003 at 10:04:15AM -0600, Kevin Corry wrote:
> > A change a few weeks ago introduced per-device mempools for dm_io
> > structures, but still used a global cache. This patch introduces
> > per-devices caches.
>
> This is pointless, or am I missing something ?

Like I said, I'm not entirely sure. This is the way we did mempools in EVMS, 
and there seem to be a couple other places that do this. But, there really 
aren't too many mempool users in the kernel, so it's hard to find examples of 
the best way to use them.

Perhaps I'll ask on lkml.

-- 
Kevin Corry
corryk at us.ibm.com
http://evms.sourceforge.net/




More information about the dm-devel mailing list