Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm Remove last trace of never-used map_attrib.



details:   https://anonhg.NetBSD.org/src/rev/a94df2670d43
branches:  trunk
changeset: 453035:a94df2670d43
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Aug 01 02:28:55 2019 +0000

description:
Remove last trace of never-used map_attrib.

diffstat:

 sys/uvm/uvm_map.c |  6 +++---
 sys/uvm/uvm_map.h |  3 +--
 2 files changed, 4 insertions(+), 5 deletions(-)

diffs (44 lines):

diff -r 5dadf5fa078e -r a94df2670d43 sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Thu Aug 01 02:27:43 2019 +0000
+++ b/sys/uvm/uvm_map.c Thu Aug 01 02:28:55 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_map.c,v 1.362 2019/07/12 06:27:13 mlelstv Exp $    */
+/*     $NetBSD: uvm_map.c,v 1.363 2019/08/01 02:28:55 riastradh Exp $  */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.362 2019/07/12 06:27:13 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.363 2019/08/01 02:28:55 riastradh Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pax.h"
@@ -4948,7 +4948,7 @@
        kve->kve_offset = e->offset;
        kve->kve_wired_count = e->wired_count;
        kve->kve_inheritance = e->inheritance;
-       kve->kve_attributes = 0; /* e->map_attrib */
+       kve->kve_attributes = 0; /* unused */
        kve->kve_advice = e->advice;
 #define PROT(p) (((p) & VM_PROT_READ) ? KVME_PROT_READ : 0) | \
        (((p) & VM_PROT_WRITE) ? KVME_PROT_WRITE : 0) | \
diff -r 5dadf5fa078e -r a94df2670d43 sys/uvm/uvm_map.h
--- a/sys/uvm/uvm_map.h Thu Aug 01 02:27:43 2019 +0000
+++ b/sys/uvm/uvm_map.h Thu Aug 01 02:28:55 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_map.h,v 1.74 2017/05/18 02:21:05 christos Exp $    */
+/*     $NetBSD: uvm_map.h,v 1.75 2019/08/01 02:28:55 riastradh Exp $   */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -146,7 +146,6 @@
        int                     wired_count;    /* can be paged if == 0 */
        struct vm_aref          aref;           /* anonymous overlay */
        int                     advice;         /* madvise advice */
-       uint32_t                map_attrib;     /* uvm-external map attributes */
 #define uvm_map_entry_stop_copy flags
        u_int8_t                flags;          /* flags */
 



Home | Main Index | Thread Index | Old Index