diff --git a/mm/percpu.c b/mm/percpu.c index c03753054099939791f231de46b965f9e3d88a77..be95d3192acba2d962cc086ce0cdaed73d79f46d 100644 --- a/mm/percpu.c +++ b/mm/percpu.c @@ -672,6 +672,8 @@ static void pcpu_free_area(struct pcpu_chunk *chunk, int freeme, int to_free = 0; int *p; + lockdep_assert_held(&pcpu_lock); + freeme |= 1; /* we are searching for pair */ i = 0;