On 11/24/17, Christopher Lameter <cl@xxxxxxxxx> wrote: > On Fri, 24 Nov 2017, Alexey Dobriyan wrote: > >> !!! Patch assumes that "PAGE_SIZE << order" doesn't overflow. !!! > > Check for that condition and do not allow creation of such caches? It should be enforced by MAX_ORDER in slab_order() and setup_slub_max_order(). -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>