Re: [PATCH 15/15] wait_bit: introduce {wait_on,wake_up}_devmap_idle

2017-11-10 Thread Christoph Hellwig
On Tue, Oct 31, 2017 at 04:22:56PM -0700, Dan Williams wrote: > Add hashed waitqueue infrastructure to wait for ZONE_DEVICE pages to > drop their reference counts and be considered idle for DMA. This > facility will be used for filesystem callbacks / wakeups when DMA to a > DAX mapped range of a

Re: [PATCH 15/15] wait_bit: introduce {wait_on,wake_up}_devmap_idle

2017-11-10 Thread Christoph Hellwig
On Tue, Oct 31, 2017 at 04:22:56PM -0700, Dan Williams wrote: > Add hashed waitqueue infrastructure to wait for ZONE_DEVICE pages to > drop their reference counts and be considered idle for DMA. This > facility will be used for filesystem callbacks / wakeups when DMA to a > DAX mapped range of a

[PATCH 15/15] wait_bit: introduce {wait_on,wake_up}_devmap_idle

2017-10-31 Thread Dan Williams
Add hashed waitqueue infrastructure to wait for ZONE_DEVICE pages to drop their reference counts and be considered idle for DMA. This facility will be used for filesystem callbacks / wakeups when DMA to a DAX mapped range of a file ends. For now, this implementation does not have functional

[PATCH 15/15] wait_bit: introduce {wait_on,wake_up}_devmap_idle

2017-10-31 Thread Dan Williams
Add hashed waitqueue infrastructure to wait for ZONE_DEVICE pages to drop their reference counts and be considered idle for DMA. This facility will be used for filesystem callbacks / wakeups when DMA to a DAX mapped range of a file ends. For now, this implementation does not have functional