Message ID | 1405459775-10812-1-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/mm/vmscan.c b/mm/vmscan.c index d873137..1d891f4 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -3298,7 +3298,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; }