Re: [PATCH] Increase maximum kmalloc size to 256K
From: Matthew Wilcox <hidden>
Date: 2005-09-23 00:58:04
On Thu, Sep 22, 2005 at 01:55:43PM -0700, Christoph Lameter wrote:
On Thu, 22 Sep 2005, Andrew Morton wrote:quoted
Christoph Lameter [off-list ref] wrote:quoted
The workqueue structure can grow larger than 128k under 2.6.14-rc2 (with all debugging features enabled on 64 bit platforms)Would it be better to use alloc_percpu() in there? Bearing in mind that one day we'll probably have an alloc_percpu() which incurs one less indirection and which allocates things node-affinely.Yes I am working on a patch like that right now. But there is still the danger that other structures also may get big in the future. It would be best to raise the limit.
It would be better to leave the limit alone so other structures which get ridiculously big are also caught and fixed. -- 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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>