On 07/17/2018 02:37 PM, Andrew Morton wrote:
On Fri, 15 Jun 2018 13:33:39 -0700 Dave Jiang
<dave.jiang(a)intel.com> wrote:
> When pmem namespaces created are smaller than section size, this can cause
> issue during removal and gpf was observed:
>
> ...
>
> Add code to check whether we have mapping already in the same section and
> prevent additional mapping from created if that is the case.
>
Which kernel version(s) do you believe need this fix, and why?
It really should go into 4.18-rc and backported to stable since without
it a GPF can be triggered when pmem namespaces smaller than section size
are constructed.