Skip to contentSkip to conversation

: Improve performance of LZO hibernation

PATCH Bojan Smojver 1 participant 1 message Sep 19, 2011

lore
Share & tools
lore
#0 lore raw

Review

Quoted 2 lines · Bojan Smojver
(quoted diff) +2 -0
+       size_t ring = 0, pg = 0, npages,
+              have = 0, want = MAP_PAGE_ENTRIES, need, asked = 0; 

The want = MAP_PAGE_ENTRIES part is a bug for sure (a leftover from the previous version of the patch). The value of want should be set to npages, once npages is set after the page allocation loop, of course.

Signature · 1 line
Bojan