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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/