On Thu, May 04, 2017 at 04:15:51PM -0600, Tycho Andersen wrote: > The XPFO [1] patchset may unmap pages from physmap if they happened to be > destined for userspace. If such a page is unmapped, it needs to be > remapped. Rather than test if a page is in the highmem/xpfo unmapped state, > Christoph suggested [2] that we simply always map the page. > > v2: * drop comment about bounce buffer > * don't save IRQs before kmap/unmap > * formatting > > Suggested-by: Christoph Hellwig <h...@infradead.org> > Signed-off-by: Tycho Andersen <ty...@docker.com> > CC: Juerg Haefliger <juerg.haefli...@hpe.com> > CC: Tejun Heo <t...@kernel.org> > > [1]: https://lkml.org/lkml/2016/11/4/245 > [2]: https://lkml.org/lkml/2016/11/4/253
Yeah, it's a nice cleanup. Applied to libata/for-4.13. Thanks. -- tejun