ureadahead patch

Bryan Wu bryan.wu at canonical.com
Fri Jul 9 02:05:52 UTC 2010


On 07/09/2010 09:49 AM, Tim Gardner wrote:
> 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.
> 

Awesome. I noticed it is built for amd64 arch, shall we get a i386 version? The
customer's machine is running i386 generice-pae kernel with 4G RAM.

Thanks,
-- 
Bryan Wu <bryan.wu at canonical.com>
Kernel Developer    +86.138-1617-6545 Mobile
Ubuntu Kernel Team | Hardware Enablement Team
Canonical Ltd.      www.canonical.com
Ubuntu - Linux for human beings | www.ubuntu.com




More information about the kernel-team mailing list