RE: [PATCH 04/36] usercopy: Prepare for usercopy whitelisting

From: Christopher Lameter
Date: Fri Jan 12 2018 - 10:56:34 EST


On Fri, 12 Jan 2018, David Laight wrote:

> > Hmmm... At some point we should switch kmem_cache_create to pass a struct
> > containing all the parameters. Otherwise the API will blow up with
> > additional functions.
>
> Or add an extra function to 'configure' the kmem_cache with the
> extra parameters.

We probably need even more configurability if we add callbacks for object
reclaim / moving.