projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a76eef9
)
vfs: add cond_resched_lock while scanning dentry LRU lists
author
Kentaro Makita
<k-makita@np.css.fujitsu.com>
Sat, 26 Jul 2008 02:44:40 +0000
(19:44 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:02 +0000
(12:00 -0700)
Add cond_resched_lock(&dcache_lock) while scanning LRU lists on
superblocks in __shrink_dcache_sb()
Signed-off-by: Kentaro Makita <k-makita@np.css.fujitsu.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/dcache.c
patch
|
blob
|
history
diff --git
a/fs/dcache.c
b/fs/dcache.c
index 3818d6ab76ca18e398f6d425b2879012f3a49ff2..f2584d22cb45e9a46cde2fb3f8c376a47273b39a 100644
(file)
--- a/
fs/dcache.c
+++ b/
fs/dcache.c
@@
-487,6
+487,7
@@
restart:
if (!cnt)
break;
}
+ cond_resched_lock(&dcache_lock);
}
}
while (!list_empty(&tmp)) {