Re: [PATCH v6 04/10] mm/memremap: add ZONE_DEVICE support for compound pages

2021-11-25 Thread Joao Martins
On 11/25/21 06:11, Christoph Hellwig wrote: > On Wed, Nov 24, 2021 at 07:09:59PM +, Joao Martins wrote: >> Add a new @vmemmap_shift property for struct dev_pagemap which specifies >> that a >> devmap is composed of a set of compound pages of order @vmemmap_shift, >> instead of >> base pages.

Re: [PATCH v6 04/10] mm/memremap: add ZONE_DEVICE support for compound pages

2021-11-24 Thread Christoph Hellwig
On Wed, Nov 24, 2021 at 07:09:59PM +, Joao Martins wrote: > Add a new @vmemmap_shift property for struct dev_pagemap which specifies that > a > devmap is composed of a set of compound pages of order @vmemmap_shift, > instead of > base pages. When a compound page devmap is requested, all but t

[PATCH v6 04/10] mm/memremap: add ZONE_DEVICE support for compound pages

2021-11-24 Thread Joao Martins
Add a new @vmemmap_shift property for struct dev_pagemap which specifies that a devmap is composed of a set of compound pages of order @vmemmap_shift, instead of base pages. When a compound page devmap is requested, all but the first page are initialised as tail pages instead of order-0 pages. Fo