ureadahead patch

Tim Gardner tim.gardner at canonical.com
Fri Jul 9 01:49:05 UTC 2010


On 07/08/2010 07:15 PM, Bryan Wu wrote:
> Tim,
>
> This patch is quite on time for my hibernation bug in a customer's project.
>
> The root cause is ureadahead will set the tracing buffer size to 128MB, then do
> profiling. But after that ureadahead never restores the old tracing buffer size
> back. Due to the big chunk of memory occupied by ureadahead, hibernation will
> fail when it preallocate memory to build hibernation image in memory.
>
> We tried to restore back the tracing buffer size to workaround this issue.
>
> So I just wanna say, please push this patch to ureadahead repo and upload for
> us. I will test this patch on the machine.
>
> Thanks again,
> -Bryan
>

Bryan,

I've uploaded a package to http://ppa.launchpad.net/timg-tpi/ppa/ubuntu. 
I tested using 'sudo ureadahead --force-trace'. It appears to do the 
right thing.

rtg

-- 
Tim Gardner tim.gardner at canonical.com




More information about the kernel-team mailing list