Re: [PATCH 1/2] device-dax/kmem: Fix resource release

2020-10-15 Thread David Hildenbrand
On 15.10.20 02:42, Dan Williams wrote: > The conversion to request_mem_region() is broken because it assumes that > the range is marked busy prior to release. However, due to the way that > the kmem driver manipulates the IORESOURCE_BUSY flag (clears it to > let {add,remove}_memory() handle busy)

[PATCH 1/2] device-dax/kmem: Fix resource release

2020-10-14 Thread Dan Williams
The conversion to request_mem_region() is broken because it assumes that the range is marked busy prior to release. However, due to the way that the kmem driver manipulates the IORESOURCE_BUSY flag (clears it to let {add,remove}_memory() handle busy) it requires a manual release_resource() to