Author: markj Date: Thu Jan 2 19:29:14 2020 New Revision: 356281 URL: https://svnweb.freebsd.org/changeset/base/356281
Log: Remove set_page_dirty_lock(). Its use of the page lock is incorrect, and it is not used by the DRM modules. Reviewed by: hselasky MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D23002 Modified: head/sys/compat/linuxkpi/common/include/linux/mm.h Modified: head/sys/compat/linuxkpi/common/include/linux/mm.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/mm.h Thu Jan 2 19:26:04 2020 (r356280) +++ head/sys/compat/linuxkpi/common/include/linux/mm.h Thu Jan 2 19:29:14 2020 (r356281) @@ -211,14 +211,6 @@ set_page_dirty(struct vm_page *page) } static inline void -set_page_dirty_lock(struct vm_page *page) -{ - vm_page_lock(page); - vm_page_dirty(page); - vm_page_unlock(page); -} - -static inline void mark_page_accessed(struct vm_page *page) { vm_page_reference(page); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"