Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1482859 > unrolled thread

Re: [PATCH] PM / Hibernate: allow hibernation with PAGE_POISONING_ZERO

Started by"Rafael J. Wysocki" <rjw@rjwysocki.net>
First post2016-09-14 03:00 +0200
Last post2016-09-14 03:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] PM / Hibernate: allow hibernation with PAGE_POISONING_ZERO "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-09-14 03:00 +0200

#1482859 — Re: [PATCH] PM / Hibernate: allow hibernation with PAGE_POISONING_ZERO

From"Rafael J. Wysocki" <rjw@rjwysocki.net>
Date2016-09-14 03:00 +0200
SubjectRe: [PATCH] PM / Hibernate: allow hibernation with PAGE_POISONING_ZERO
Message-ID<sh6Ip-17K-7@gated-at.bofh.it>
On Friday, September 09, 2016 10:43:32 AM Anisse Astier wrote:
> PAGE_POISONING_ZERO disables zeroing new pages on alloc, they are
> poisoned (zeroed) as they become available.
> In the hibernate use case, free pages will appear in the system without
> being cleared, left there by the loading kernel.
> 
> This patch will make sure free pages are cleared on resume when
> PAGE_POISONING_ZERO is enabled. We free the pages just after resume
> because we can't do it later: going through any device resume code might
> allocate some memory and invalidate the free pages bitmap.
> 
> Thus we don't need to disable hibernation when PAGE_POISONING_ZERO is
> enabled.
> 
> Signed-off-by: Anisse Astier <anisse@astier.eu>
> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> Cc: Laura Abbott <labbott@fedoraproject.org>
> Cc: Mel Gorman <mgorman@suse.de>
> Cc: Rafael J. Wysocki <rjw@rjwysocki.net>

Applied (with the tags from Pavel and Kees).

Thanks,
Rafael

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web