Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/drm Make gem mmappings shared...
details: https://anonhg.NetBSD.org/src/rev/74d7cec25c2c
branches: riastradh-drm2
changeset: 788651:74d7cec25c2c
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Mar 07 15:39:08 2014 +0000
description:
Make gem mmappings shared, not copy-on-write, like Linux.
diffstat:
sys/external/bsd/drm2/drm/drm_drv.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d39d9f4f8dd4 -r 74d7cec25c2c sys/external/bsd/drm2/drm/drm_drv.c
--- a/sys/external/bsd/drm2/drm/drm_drv.c Thu Mar 06 00:32:39 2014 +0000
+++ b/sys/external/bsd/drm2/drm/drm_drv.c Fri Mar 07 15:39:08 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_drv.c,v 1.1.2.37 2014/03/05 14:42:27 riastradh Exp $ */
+/* $NetBSD: drm_drv.c,v 1.1.2.38 2014/03/07 15:39:08 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_drv.c,v 1.1.2.37 2014/03/05 14:42:27 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_drv.c,v 1.1.2.38 2014/03/07 15:39:08 riastradh Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -1008,7 +1008,7 @@
(ISSET(prot, PROT_WRITE)? VM_PROT_WRITE : 0));
KASSERT(vm_prot == (vm_prot & vm_maxprot));
uvmflag = UVM_MAPFLAG(vm_prot, vm_maxprot, UVM_INH_COPY,
- UVM_ADV_RANDOM, UVM_FLAG_COPYONW);
+ UVM_ADV_RANDOM, 0);
align = 0; /* XXX */
vaddr = (*curproc->p_emul->e_vm_default_addr)(curproc,
Home |
Main Index |
Thread Index |
Old Index