Message ID | 1406067727-19683-65-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/mm/vmscan.c b/mm/vmscan.c index 9cbc502..cfd005c 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -3056,7 +3056,10 @@ static int kswapd(void *p) } } + tsk->flags &= ~(PF_MEMALLOC | PF_SWAPWRITE | PF_KSWAPD); current->reclaim_state = NULL; + lockdep_clear_current_reclaim_state(); + return 0; }