Re: [PATCH] x86/mm: Fix leak of pmd ptlock

From: Peter Zijlstra
Date: Thu Dec 03 2020 - 05:55:14 EST


On Wed, Dec 02, 2020 at 10:28:12PM -0800, Dan Williams wrote:
> pmd_free() is close, but it is a messy fit due to requiring an @mm arg.

Hurpm, only parisc and s390 actually use that argument. And s390
_really_ needs it, because they're doing runtime folding per mm.