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

Jason Gunthorpe jgg at mellanox.com
Thu Jun 13 19:18:36 UTC 2019


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 at mellanox.com>

Jason


More information about the dri-devel mailing list