projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/book3s64/hash: Add cond_resched to avoid soft lockup warning
[linux-2.6-block.git]
/
arch
/
powerpc
/
mm
/
book3s64
/
hash_utils.c
diff --git
a/arch/powerpc/mm/book3s64/hash_utils.c
b/arch/powerpc/mm/book3s64/hash_utils.c
index a9d1f72de8484f3c347cfbf35569fcb24edb0602..b30435c7d8042a58ec7e4fdd80c29651048c7cb6 100644
(file)
--- a/
arch/powerpc/mm/book3s64/hash_utils.c
+++ b/
arch/powerpc/mm/book3s64/hash_utils.c
@@
-316,6
+316,7
@@
repeat:
if (ret < 0)
break;
+ cond_resched();
#ifdef CONFIG_DEBUG_PAGEALLOC
if (debug_pagealloc_enabled() &&
(paddr >> PAGE_SHIFT) < linear_map_hash_count)