]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia.git/blobdiff - X11-driver-nvidia-1165235.patch
- post 2.6.10 patchset.
[packages/xorg-driver-video-nvidia.git] / X11-driver-nvidia-1165235.patch
diff --git a/X11-driver-nvidia-1165235.patch b/X11-driver-nvidia-1165235.patch
new file mode 100644 (file)
index 0000000..ca8b2cb
--- /dev/null
@@ -0,0 +1,15 @@
+diff -ru usr/src/nv/nv.c usr/src/nv.1165235/nv.c
+--- usr/src/nv/nv.c    2004-11-03 22:53:00.000000000 +0100
++++ usr/src/nv.1165235/nv.c    2004-11-25 16:45:04.000000000 +0100
+@@ -1604,9 +1604,8 @@
+         }
+         nv_vm_list_page_count(at->page_table, at->num_pages);
+-        /* prevent the swapper from swapping it out */
+-        /* mark the memory i/o so the buffers aren't dumped on core dumps */
+-        vma->vm_flags |= (VM_LOCKED | VM_IO);
++        // mark it as IO so that we don't dump it on core dump
++        vma->vm_flags |= VM_IO;
+     }
+     /* Magic allocator */
This page took 0.027125 seconds and 4 git commands to generate.