[folded-merged] pm-hibernate-feed-the-wathdog-when-creating-snapshot-v2.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: pm-hibernate-feed-the-wathdog-when-creating-snapshot-v2
has been removed from the -mm tree.  Its filename was
     pm-hibernate-feed-the-wathdog-when-creating-snapshot-v2.patch

This patch was dropped because it was folded into pm-hibernate-feed-the-wathdog-when-creating-snapshot.patch

------------------------------------------------------
From: Chen Yu <yu.c.chen@xxxxxxxxx>
Subject: pm-hibernate-feed-the-wathdog-when-creating-snapshot-v2

use an interval of 128k instead of 100k to avoid modulus operation

Signed-off-by: Chen Yu <yu.c.chen@xxxxxxxxx>
Cc: Jan Filipcewicz <jan.filipcewicz@xxxxxxxxx>
Cc: Michal Hocko <mhocko@xxxxxxxx>
Cc: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx>
Cc: Vlastimil Babka <vbabka@xxxxxxx>
Cc: "Rafael J. Wysocki" <rjw@xxxxxxxxxxxxx>
Cc: Len Brown <lenb@xxxxxxxxxx>
Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/page_alloc.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff -puN mm/page_alloc.c~pm-hibernate-feed-the-wathdog-when-creating-snapshot-v2 mm/page_alloc.c
--- a/mm/page_alloc.c~pm-hibernate-feed-the-wathdog-when-creating-snapshot-v2
+++ a/mm/page_alloc.c
@@ -2536,8 +2536,11 @@ void drain_all_pages(struct zone *zone)
 
 #ifdef CONFIG_HIBERNATION
 
-/* Touch watchdog for every WD_INTERVAL_PAGE pages. */
-#define WD_INTERVAL_PAGE	(100*1024)
+/*
+ * Touch the watchdog for every WD_INTERVAL_PAGE pages,
+ * choose a power of 2 to avoid the modulus operation.
+ */
+#define WD_INTERVAL_PAGE	(128*1024)
 
 void mark_free_pages(struct zone *zone)
 {
_

Patches currently in -mm which might be from yu.c.chen@xxxxxxxxx are

pm-hibernate-feed-the-wathdog-when-creating-snapshot.patch
pm-hibernate-feed-the-wathdog-when-creating-snapshot-v3.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux