Skip to content

Commit 0f7d83e

Browse files
joergroedelrafaeljw
authored andcommitted
PM / Hibernate: Touch Soft Lockup Watchdog in rtree_next_node
When a memory bitmap is fully populated on a large memory machine (several TB of RAM) it can take more than a minute to walk through all bits. This causes the soft lockup detector on these machine to report warnings. Avoid this by touching the soft lockup watchdog in the memory bitmap walking code. Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 9047eb6 commit 0f7d83e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎kernel/power/snapshot.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,7 @@ static bool rtree_next_node(struct memory_bitmap *bm)
769769
if (&bm->cur.node->list != &bm->cur.zone->leaves) {
770770
bm->cur.node_pfn += BM_BITS_PER_BLOCK;
771771
bm->cur.node_bit = 0;
772+
touch_softlockup_watchdog();
772773
return true;
773774
}
774775

0 commit comments

Comments
 (0)