diff options
-rw-r--r-- | fs/fs-writeback.c | 2 | ||||
-rw-r--r-- | include/linux/sched.h | 1 | ||||
-rw-r--r-- | mm/backing-dev.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index b5aae4bd0aca..9e46aec10d1a 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c | |||
@@ -794,7 +794,7 @@ int bdi_writeback_thread(void *data) | |||
794 | struct backing_dev_info *bdi = wb->bdi; | 794 | struct backing_dev_info *bdi = wb->bdi; |
795 | long pages_written; | 795 | long pages_written; |
796 | 796 | ||
797 | current->flags |= PF_FLUSHER | PF_SWAPWRITE; | 797 | current->flags |= PF_SWAPWRITE; |
798 | set_freezable(); | 798 | set_freezable(); |
799 | wb->last_active = jiffies; | 799 | wb->last_active = jiffies; |
800 | 800 | ||
diff --git a/include/linux/sched.h b/include/linux/sched.h index 56154bbb8da9..393ce94e54b7 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1706,7 +1706,6 @@ extern void thread_group_times(struct task_struct *p, cputime_t *ut, cputime_t * | |||
1706 | #define PF_DUMPCORE 0x00000200 /* dumped core */ | 1706 | #define PF_DUMPCORE 0x00000200 /* dumped core */ |
1707 | #define PF_SIGNALED 0x00000400 /* killed by a signal */ | 1707 | #define PF_SIGNALED 0x00000400 /* killed by a signal */ |
1708 | #define PF_MEMALLOC 0x00000800 /* Allocating memory */ | 1708 | #define PF_MEMALLOC 0x00000800 /* Allocating memory */ |
1709 | #define PF_FLUSHER 0x00001000 /* responsible for disk writeback */ | ||
1710 | #define PF_USED_MATH 0x00002000 /* if unset the fpu must be initialized before use */ | 1709 | #define PF_USED_MATH 0x00002000 /* if unset the fpu must be initialized before use */ |
1711 | #define PF_FREEZING 0x00004000 /* freeze in progress. do not account to load */ | 1710 | #define PF_FREEZING 0x00004000 /* freeze in progress. do not account to load */ |
1712 | #define PF_NOFREEZE 0x00008000 /* this thread should not be frozen */ | 1711 | #define PF_NOFREEZE 0x00008000 /* this thread should not be frozen */ |
diff --git a/mm/backing-dev.c b/mm/backing-dev.c index 5ad3c106606b..f2eb27884ffa 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c | |||
@@ -362,7 +362,7 @@ static int bdi_forker_thread(void *ptr) | |||
362 | { | 362 | { |
363 | struct bdi_writeback *me = ptr; | 363 | struct bdi_writeback *me = ptr; |
364 | 364 | ||
365 | current->flags |= PF_FLUSHER | PF_SWAPWRITE; | 365 | current->flags |= PF_SWAPWRITE; |
366 | set_freezable(); | 366 | set_freezable(); |
367 | 367 | ||
368 | /* | 368 | /* |