[PATCH 05/13] mm: Allow compound zone device pages

Christoph Hellwig hch at lst.de
Thu Jun 27 15:35:00 AEST 2024


On Thu, Jun 27, 2024 at 10:54:20AM +1000, Alistair Popple wrote:
>  static struct nouveau_dmem_chunk *nouveau_page_to_chunk(struct page *page)
>  {
> -	return container_of(page->pgmap, struct nouveau_dmem_chunk, pagemap);
> +	return container_of(page_dev_pagemap(page), struct nouveau_dmem_chunk, pagemap);

Overly long line hee (and quite a few more).



More information about the Linuxppc-dev mailing list