[lkml]   [2008]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/2] swsusp: simplify memory bitmap
2008/7/7 Rafael J. Wysocki <>:
> On Saturday, 5 of July 2008, Akinobu Mita wrote:
>> This patch simplifies the memory bitmap manipulations.
>> - remove the member size in struct bm_block
>> It is not necessary for struct bm_block to have the number of bit chunks
>> that can be calculated by using end_pfn and start_pfn.
>> - use find_next_bit() for memory_bm_next_pfn
>> No need to invent the bitmap library only for the memory bitmap.
> Thanks for doing this change, it looks OK.
> I haven't have the time to test it yet, but once it's been tested, I'll push
> it to Andrew for merging. I'll fold patch 1/2 into this one.

Thanks. I have only tested it on an x86_64 box.

 \ /
  Last update: 2008-07-07 15:29    [W:0.060 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site