Cc: Hugh Dickins <hugh@...>, Peter Zijlstra <a.p.zijlstra@...>, Christoph Lameter <clameter@...>, James Bottomley <James.Bottomley@...>, Andrew Morton <akpm@...>, FUJITA Tomonori <fujita.tomonori@...>, Jens Axboe <jens.axboe@...>, Rafael J. Wysocki <rjw@...>, <linux-kernel@...>
Pekka Enberg wrote:
Actually, a trivial way to implement that is to have a few "emergency
kmalloc" caches say for sizes 64, 128, 256, and 512 that have some
pre-allocated pages into which these GFP_TEMPORARY allocations are
allowed to dip into on OOM and OOM only.
Pekka
--