Re: [PATCH 2/4] memremap: remove the dev field in struct dev_pagemap

2019-08-21 Thread Dan Williams
On Wed, Aug 21, 2019 at 4:51 PM Jason Gunthorpe wrote: > > On Wed, Aug 21, 2019 at 01:24:20PM -0300, Jason Gunthorpe wrote: > > On Tue, Aug 20, 2019 at 07:58:22PM -0700, Dan Williams wrote: > > > On Tue, Aug 20, 2019 at 6:27 AM Jason Gunthorpe wrote: > > > > > > > > On Mon, Aug 19, 2019 at

Re: [PATCH 2/4] memremap: remove the dev field in struct dev_pagemap

2019-08-21 Thread Jason Gunthorpe
On Wed, Aug 21, 2019 at 01:24:20PM -0300, Jason Gunthorpe wrote: > On Tue, Aug 20, 2019 at 07:58:22PM -0700, Dan Williams wrote: > > On Tue, Aug 20, 2019 at 6:27 AM Jason Gunthorpe wrote: > > > > > > On Mon, Aug 19, 2019 at 06:44:02PM -0700, Dan Williams wrote: > > > > On Sun, Aug 18, 2019 at

Re: [PATCH 2/4] memremap: remove the dev field in struct dev_pagemap

2019-08-21 Thread Jason Gunthorpe
On Tue, Aug 20, 2019 at 07:58:22PM -0700, Dan Williams wrote: > On Tue, Aug 20, 2019 at 6:27 AM Jason Gunthorpe wrote: > > > > On Mon, Aug 19, 2019 at 06:44:02PM -0700, Dan Williams wrote: > > > On Sun, Aug 18, 2019 at 2:12 AM Christoph Hellwig wrote: > > > > > > > > The dev field in struct

Re: [PATCH 2/4] memremap: remove the dev field in struct dev_pagemap

2019-08-20 Thread Dan Williams
On Tue, Aug 20, 2019 at 6:27 AM Jason Gunthorpe wrote: > > On Mon, Aug 19, 2019 at 06:44:02PM -0700, Dan Williams wrote: > > On Sun, Aug 18, 2019 at 2:12 AM Christoph Hellwig wrote: > > > > > > The dev field in struct dev_pagemap is only used to print dev_name in > > > two places, which are at

Re: [PATCH 2/4] memremap: remove the dev field in struct dev_pagemap

2019-08-20 Thread Jason Gunthorpe
On Mon, Aug 19, 2019 at 06:44:02PM -0700, Dan Williams wrote: > On Sun, Aug 18, 2019 at 2:12 AM Christoph Hellwig wrote: > > > > The dev field in struct dev_pagemap is only used to print dev_name in > > two places, which are at best nice to have. Just remove the field > > and thus the name in

Re: [PATCH 2/4] memremap: remove the dev field in struct dev_pagemap

2019-08-19 Thread Dan Williams
On Sun, Aug 18, 2019 at 2:12 AM Christoph Hellwig wrote: > > The dev field in struct dev_pagemap is only used to print dev_name in > two places, which are at best nice to have. Just remove the field > and thus the name in those two messages. > > Signed-off-by: Christoph Hellwig > Reviewed-by:

[PATCH 2/4] memremap: remove the dev field in struct dev_pagemap

2019-08-18 Thread Christoph Hellwig
The dev field in struct dev_pagemap is only used to print dev_name in two places, which are at best nice to have. Just remove the field and thus the name in those two messages. Signed-off-by: Christoph Hellwig Reviewed-by: Ira Weiny --- include/linux/memremap.h | 1 - kernel/memremap.c

[PATCH 2/4] memremap: remove the dev field in struct dev_pagemap

2019-08-16 Thread Christoph Hellwig
The dev field in struct dev_pagemap is only used to print dev_name in two places, which are at best nice to have. Just remove the field and thus the name in those two messages. Signed-off-by: Christoph Hellwig --- include/linux/memremap.h | 1 - mm/memremap.c| 6 +-