Re: [PATCH] swsusp: simpler calculation of number of pages in PBE list

Rafael J. Wysocki
2005-07-29T20:43:27Z

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

On Friday, 29 of July 2005 21:46, Michal Schmidt wrote:
> The function calc_nr uses an iterative algorithm to calculate the number
> of pages needed for the image and the pagedir. Exactly the same result
> can be obtained with a one-line expression.

Could you please post the proof?

Rafael

--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"