git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs/dcache.c: fix spin lockup issue on nlru->lock
[pandora-kernel.git]
/
fs
/
dcache.c
diff --git
a/fs/dcache.c
b/fs/dcache.c
index
01c68ae
..
93df954
100644
(file)
--- a/
fs/dcache.c
+++ b/
fs/dcache.c
@@
-836,6
+836,7
@@
void shrink_dcache_sb(struct super_block *sb)
list_splice_init(&sb->s_dentry_lru, &tmp);
spin_unlock(&dcache_lru_lock);
shrink_dentry_list(&tmp);
+ cond_resched();
spin_lock(&dcache_lru_lock);
}
spin_unlock(&dcache_lru_lock);