[Bug 261773] graphics/drm-fbsd13-kmod: Instability and artifacts after 5.4.144.g20220128 update (Intel GM45)

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261773

Tijl Coosemans <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #10 from Tijl Coosemans <[email protected]> ---
The problem happens when there's memory pressure.  This hack seems to fix it. 
It essentially reverts base 3de96d664aaa.  So it doesn't seem to have anything
to do with drm or linuxkpi.

--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -732,8 +732,8 @@ vm_pageout_clean(vm_page_t m, int *numpagedout)
 static bool
 vm_pageout_object_act(vm_object_t object)
 {
-       return (object->ref_count >
-           ((object->flags & (OBJ_SWAP | OBJ_ANON)) == OBJ_SWAP ? 1 : 0));
+       return (object->ref_count > 0);
+//         ((object->flags & (OBJ_SWAP | OBJ_ANON)) == OBJ_SWAP ? 1 : 0));
 }

 static int

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.