svn commit: r356281 - head/sys/compat/linuxkpi/common/include/linux

Mark Johnston markj at FreeBSD.org
Thu Jan 2 19:29:15 UTC 2020


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);


More information about the svn-src-head mailing list