Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217541
b: refs/heads/master
c: 766f916
h: refs/heads/master
i:
  217539: 57d6e3c
v: v3
  • Loading branch information
Peter Zijlstra authored and Linus Torvalds committed Oct 26, 2010
1 parent 4d97988 commit 7ba5d96
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4ce6494dbd8909718840bb88d5a699ef6ce5c212
refs/heads/master: 766f9164193f6dda1497bbf3861060198421fb92
2 changes: 1 addition & 1 deletion trunk/fs/fs-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ int bdi_writeback_thread(void *data)
struct backing_dev_info *bdi = wb->bdi;
long pages_written;

current->flags |= PF_FLUSHER | PF_SWAPWRITE;
current->flags |= PF_SWAPWRITE;
set_freezable();
wb->last_active = jiffies;

Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -1706,7 +1706,6 @@ extern void thread_group_times(struct task_struct *p, cputime_t *ut, cputime_t *
#define PF_DUMPCORE 0x00000200 /* dumped core */
#define PF_SIGNALED 0x00000400 /* killed by a signal */
#define PF_MEMALLOC 0x00000800 /* Allocating memory */
#define PF_FLUSHER 0x00001000 /* responsible for disk writeback */
#define PF_USED_MATH 0x00002000 /* if unset the fpu must be initialized before use */
#define PF_FREEZING 0x00004000 /* freeze in progress. do not account to load */
#define PF_NOFREEZE 0x00008000 /* this thread should not be frozen */
Expand Down
2 changes: 1 addition & 1 deletion trunk/mm/backing-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ static int bdi_forker_thread(void *ptr)
{
struct bdi_writeback *me = ptr;

current->flags |= PF_FLUSHER | PF_SWAPWRITE;
current->flags |= PF_SWAPWRITE;
set_freezable();

/*
Expand Down

0 comments on commit 7ba5d96

Please sign in to comment.