Re: [PATCH] unicore32 framebuffer driver fix: make videomemory kmalloc-ed and floatable
From: Arnd Bergmann
Date: Wed Mar 30 2011 - 06:55:33 EST
On Wednesday 30 March 2011, Guan Xuetao wrote:
> Is it appropriate to using __get_free_pages in framebuffer driver?
Yes, it is appropriate, and it is also more efficient than using
kmalloc.
> And both SLAB and SLUB allocators support 4MB request.
Ok, I did not know that, but I see now how the maximum size is computed.
The limit was 128 KB for a long time, but has apparently changed.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/