Messages in this thread | | | Date | Mon, 26 Jan 2015 13:53:32 -0600 (CST) | From | Christoph Lameter <> | Subject | Re: [PATCH -mm 1/3] slub: don't fail kmem_cache_shrink if slab placement optimization fails |
| |
On Mon, 26 Jan 2015, Vladimir Davydov wrote:
> We could do that, but IMO that would only complicate the code w/o > yielding any real benefits. This function is slow and called rarely > anyway, so I don't think there is any point to optimize out a page > allocation here.
I think you already have the code there. Simply allow the sizeing of the empty_page[] array. And rename it.
| |