[Cbe-oss-dev] spufs: make isolated loader properly aligned (take 2)
Christoph Hellwig
hch at lst.de
Mon Aug 13 10:02:02 EST 2007
On Sat, Aug 11, 2007 at 04:33:06PM +0200, Sebastian Siewior wrote:
> >Please use get_free_pages instead. vmalloc means we need to setup
> >pagetables and walk them on every access, aswell as wasting a guard page
> >for every allocation.
>
> There should be only one allocation.
> You you though about something like
>
> loader = __get_free_pages(GFP_KERNEL, get_order(size));
Yes, that sounds fine.
More information about the cbe-oss-dev
mailing list