From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f200.google.com (mail-io0-f200.google.com [209.85.223.200]) by kanga.kvack.org (Postfix) with ESMTP id 98FD76B0253 for ; Thu, 15 Dec 2016 14:11:53 -0500 (EST) Received: by mail-io0-f200.google.com with SMTP id y124so72290793iof.4 for ; Thu, 15 Dec 2016 11:11:53 -0800 (PST) Received: from resqmta-ch2-10v.sys.comcast.net (resqmta-ch2-10v.sys.comcast.net. [2001:558:fe21:29:69:252:207:42]) by mx.google.com with ESMTPS id y66si3135014iof.141.2016.12.15.11.11.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Dec 2016 11:11:53 -0800 (PST) Date: Thu, 15 Dec 2016 13:11:52 -0600 (CST) From: Christoph Lameter Subject: Re: [PATCH 2/2] mm, slab: make sure that KMALLOC_MAX_SIZE will fit into MAX_ORDER In-Reply-To: <20161215164722.21586-3-mhocko@kernel.org> Message-ID: References: <20161215164722.21586-1-mhocko@kernel.org> <20161215164722.21586-3-mhocko@kernel.org> Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: linux-mm@kvack.org, Andrew Morton , Michal Hocko On Thu, 15 Dec 2016, Michal Hocko wrote: > (see __alloc_pages_slowpath). The same applies to the SLOB allocator > which allows even larger sizes. Make sure that they are capped properly > and never request more than MAX_ORDER order. Acked-by: Christoph Lameter -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org