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
Freezer: make kernel threads nonfreezable by default
[linux-2.6-block.git]
/
mm
/
pdflush.c
diff --git
a/mm/pdflush.c
b/mm/pdflush.c
index 8ce0900dc95ce13052ee6241f7cf6de91f828a8a..8f6ee073c0e3f44a14a40fe1351006b1246e4523 100644
(file)
--- a/
mm/pdflush.c
+++ b/
mm/pdflush.c
@@
-92,6
+92,7
@@
struct pdflush_work {
static int __pdflush(struct pdflush_work *my_work)
{
current->flags |= PF_FLUSHER | PF_SWAPWRITE;
+ set_freezable();
my_work->fn = NULL;
my_work->who = current;
INIT_LIST_HEAD(&my_work->list);