[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090502104947.2720f173.akpm@linux-foundation.org>
Date: Sat, 2 May 2009 10:49:47 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: "Rafael J. Wysocki" <rjw@...k.pl>
Cc: pavel@....cz, torvalds@...ux-foundation.org, jens.axboe@...cle.com,
alan-jenkins@...fmail.co.uk, linux-kernel@...r.kernel.org,
kernel-testers@...r.kernel.org, linux-pm@...ts.linux-foundation.org
Subject: Re: [PATCH 3/3] PM/Hibernate: Use memory allocations to free memory
On Sat, 2 May 2009 13:46:34 +0200 "Rafael J. Wysocki" <rjw@...k.pl> wrote:
> > Do we need the bitmap? I expect we can just string all these pages
> > onto a local list via page.lru. Would need to check that - the
> > pageframe fields are quite overloaded.
>
> This is the reason why we use the bitmaps for hibernation. :-)
grep the tree for page->lru and you'll see that quite a few page
consumers are using it. So you'd be pretty safe doing it this way.
Whether it's _worth_ doing it this way is debatable, given that
hibernation uses bitmaps elsewhere. But it would shrink the patch a
bit I expect?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists