You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Look at kernel-open/nvidia-drm/nvidia-drm-linux.c, in my opinion, the purpose of calling set_page_dirty_lock() should be to swap out dirty anonymous pages. But, Linux Kernel function get_user_pages() with FOLL_WRITE will set page dirty or set PTE dirty, and earlier versions of Linux kernel already support it. so, is it necessary to call set_page_dirty_lock() before put anonymous pages?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Look at kernel-open/nvidia-drm/nvidia-drm-linux.c, in my opinion, the purpose of calling set_page_dirty_lock() should be to swap out dirty anonymous pages. But, Linux Kernel function get_user_pages() with FOLL_WRITE will set page dirty or set PTE dirty, and earlier versions of Linux kernel already support it. so, is it necessary to call set_page_dirty_lock() before put anonymous pages?
Beta Was this translation helpful? Give feedback.
All reactions