Re: [PATCH v2 1/3] mm: make dev_pagemap_mapping_shift() externally visible

2018-11-26 Thread Dan Williams
On Wed, Nov 14, 2018 at 1:53 PM Barret Rhoden wrote: > > KVM has a use case for determining the size of a dax mapping. The KVM > code has easy access to the address and the mm; hence the change in > parameters. > > Signed-off-by: Barret Rhoden > Reviewed-by: David Hildenbrand Acked-by: Dan

Re: [PATCH v2 1/3] mm: make dev_pagemap_mapping_shift() externally visible

2018-11-26 Thread Paolo Bonzini
On 14/11/18 22:51, Barret Rhoden wrote: > KVM has a use case for determining the size of a dax mapping. The KVM > code has easy access to the address and the mm; hence the change in > parameters. > > Signed-off-by: Barret Rhoden > Reviewed-by: David Hildenbrand > --- > include/linux/mm.h |

[PATCH v2 1/3] mm: make dev_pagemap_mapping_shift() externally visible

2018-11-14 Thread Barret Rhoden
KVM has a use case for determining the size of a dax mapping. The KVM code has easy access to the address and the mm; hence the change in parameters. Signed-off-by: Barret Rhoden Reviewed-by: David Hildenbrand --- include/linux/mm.h | 3 +++ mm/memory-failure.c | 38