[PATCH 4/6] PM / Hibernate: Iterate over set bits instead of PFNs in swsusp_free()

2014-07-21 Thread Joerg Roedel
From: Joerg Roedel The existing implementation of swsusp_free iterates over all pfns in the system and checks every bit in the two memory bitmaps. This doesn't scale very well with large numbers of pfns, especially when the bitmaps are not populated very densly. Change the algorithm to iterate

[PATCH 4/6] PM / Hibernate: Iterate over set bits instead of PFNs in swsusp_free()

2014-07-21 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de The existing implementation of swsusp_free iterates over all pfns in the system and checks every bit in the two memory bitmaps. This doesn't scale very well with large numbers of pfns, especially when the bitmaps are not populated very densly. Change the

[PATCH 4/6] PM / Hibernate: Iterate over set bits instead of PFNs in swsusp_free()

2014-07-18 Thread Joerg Roedel
From: Joerg Roedel The existing implementation of swsusp_free iterates over all pfns in the system and checks every bit in the two memory bitmaps. This doesn't scale very well with large numbers of pfns, especially when the bitmaps are not populated very densly. Change the algorithm to iterate

[PATCH 4/6] PM / Hibernate: Iterate over set bits instead of PFNs in swsusp_free()

2014-07-18 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de The existing implementation of swsusp_free iterates over all pfns in the system and checks every bit in the two memory bitmaps. This doesn't scale very well with large numbers of pfns, especially when the bitmaps are not populated very densly. Change the