diff options
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 9a27c44aa327..303eb658b50b 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -1963,6 +1963,9 @@ static int kswapd(void *p) | |||
1963 | struct reclaim_state reclaim_state = { | 1963 | struct reclaim_state reclaim_state = { |
1964 | .reclaimed_slab = 0, | 1964 | .reclaimed_slab = 0, |
1965 | }; | 1965 | }; |
1966 | |||
1967 | lockdep_set_current_reclaim_state(GFP_KERNEL); | ||
1968 | |||
1966 | node_to_cpumask_ptr(cpumask, pgdat->node_id); | 1969 | node_to_cpumask_ptr(cpumask, pgdat->node_id); |
1967 | 1970 | ||
1968 | if (!cpumask_empty(cpumask)) | 1971 | if (!cpumask_empty(cpumask)) |