[PATCH 2/2] drm/amdgpu: Enable clear page functionality

Christian König ckoenig.leichtzumerken at gmail.com
Thu Dec 14 10:31:34 UTC 2023


Am 13.12.23 um 16:46 schrieb Michel Dänzer:
>  From a security PoV, the kernel should never return uncleared memory to (at least unprivileged) user space. This series seems like a big step in that direction.

Well please take a look at the MAP_UNINITIALIZED flag for mmap(). We 
even have the functionality to return uninitialized system memory when 
the kernel compile option for this is set since this is an important 
optimization for many use cases.

Regards,
Christian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20231214/8e69a403/attachment.htm>


More information about the dri-devel mailing list