On Mon, Mar 05, 2018 at 11:07:55AM -0800, Dave Hansen wrote: > On 03/05/2018 08:26 AM, Kirill A. Shutemov wrote: > > kmap_atomic_keyid() would map the page with the specified KeyID. > > For now it's dummy implementation that would be replaced later. > > I think you need to explain the tradeoffs here. We could just change > the linear map around, but you don't. Why?
I don't think we settled on implementation by this point: kmap() is only interface and doesn't imply what it acctually does. I *can* change linear mapping if we would chose so. I will explain the kmap() implementation in patches that would implement it. -- Kirill A. Shutemov