Searched hist:ed14d225 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_msg.c | ed14d225 Wed Nov 09 09:37:34 CST 2022 Dawei Li <set_pte_at@outlook.com> drm/vmwgfx: Fix race issue calling pin_user_pages
pin_user_pages() is unsafe without protection of mmap_lock, fix it by calling pin_user_pages_fast().
Fixes: 7a7a933edd6c ("drm/vmwgfx: Introduce VMware mks-guest-stats") Signed-off-by: Dawei Li <set_pte_at@outlook.com> Reviewed-by: Martin Krastev <krastevm@vmware.com> Signed-off-by: Zack Rusin <zackr@vmware.com> Link: https://patchwork.freedesktop.org/patch/msgid/TYWP286MB23193621CB443E1E1959A00BCA3E9@TYWP286MB2319.JPNP286.PROD.OUTLOOK.COM
|