[lkml]   [2012]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v9]: Hibernation: fix the number of pages used for hibernate/thaw buffering
    On Tue, 2012-04-10 at 11:22 +0200, Per Olofsson wrote:
    > If you don't have any high pages (e.g. x86_64), then
    > nr_free_highpages() is defined to be 0 and is optimized away
    > completely.

    Yeah, we could do that in the patch too.

    > Still, it seems you are not calculating free pages that often anymore
    > so it should not matter much.

    True. We call this a couple of orders of magnitude less times, so it
    won't have noticeable affect on speed either way.


     \ /
      Last update: 2012-04-10 11:29    [W:0.019 / U:46.284 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site