Op 04-09-13 05:31, Ben Skeggs schreef:
On Tue, Sep 3, 2013 at 12:31 AM, Maarten Lankhorst maarten.lankhorst@canonical.com wrote:
I was getting a order 4 allocation failure from kmalloc when testing some game after a few days uptime with some suspend/resumes. For big allocations vmalloc should be used instead.
I've picked up this patch with a minor modification (see below)
Also limit size more aggressively to 256 KiB.
I dropped this, it's *completely* useless, the sizes are already enforced right at the beginning of the ioctl (shockingly, the max size is going to be 256KiB already)...
Thanks, I wonder how I missed that. :-)
~Maarten