Re: [PATCH 07/22] memremap: move dev_pagemap callbacks into a separate structure

From: Jason Gunthorpe
Date: Thu Jun 13 2019 - 15:23:23 EST


On Thu, Jun 13, 2019 at 11:43:10AM +0200, Christoph Hellwig wrote:
> The dev_pagemap is a growing too many callbacks. Move them into a
> separate ops structure so that they are not duplicated for multiple
> instances, and an attacker can't easily overwrite them.

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

Jason