Thread (7 messages) 7 messages, 2 authors, 2011-03-30

Re: [PATCH] unicore32 framebuffer driver fix: make videomemory kmalloc-ed and floatable

From: Arnd Bergmann <arnd@arndb.de>
Date: 2011-03-30 10:55:31
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help