Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Remove NPTECL, unused.
details: https://anonhg.NetBSD.org/src/rev/d420bb2de72a
branches: trunk
changeset: 363392:d420bb2de72a
user: maxv <maxv%NetBSD.org@localhost>
date: Wed Jul 25 11:47:07 2018 +0000
description:
Remove NPTECL, unused.
diffstat:
sys/arch/amd64/include/pmap.h | 8 +-------
sys/arch/i386/include/pmap.h | 12 +-----------
2 files changed, 2 insertions(+), 18 deletions(-)
diffs (48 lines):
diff -r d3d16878e679 -r d420bb2de72a sys/arch/amd64/include/pmap.h
--- a/sys/arch/amd64/include/pmap.h Wed Jul 25 11:09:22 2018 +0000
+++ b/sys/arch/amd64/include/pmap.h Wed Jul 25 11:47:07 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.46 2018/05/19 15:03:26 jdolecek Exp $ */
+/* $NetBSD: pmap.h,v 1.47 2018/07/25 11:47:07 maxv Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -212,12 +212,6 @@
#define PG_X 0 /* XXX dummy */
-/*
- * Number of PTE's per cache line. 8 byte pte, 64-byte cache line
- * Used to avoid false sharing of cache lines.
- */
-#define NPTECL 8
-
void svs_pmap_sync(struct pmap *, int);
void svs_lwp_switch(struct lwp *, struct lwp *);
void svs_pdir_switch(struct pmap *);
diff -r d3d16878e679 -r d420bb2de72a sys/arch/i386/include/pmap.h
--- a/sys/arch/i386/include/pmap.h Wed Jul 25 11:09:22 2018 +0000
+++ b/sys/arch/i386/include/pmap.h Wed Jul 25 11:47:07 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.118 2016/09/19 20:46:55 maya Exp $ */
+/* $NetBSD: pmap.h,v 1.119 2018/07/25 11:47:07 maxv Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -284,16 +284,6 @@
#define PG_PVLIST PG_AVAIL2 /* mapping has entry on pvlist */
#define PG_X PG_AVAIL3 /* executable mapping */
-/*
- * Number of PTE's per cache line. 4 byte pte, 32-byte cache line
- * Used to avoid false sharing of cache lines.
- */
-#ifdef PAE
-#define NPTECL 4
-#else
-#define NPTECL 8
-#endif
-
#include <x86/pmap.h>
#ifndef XEN
Home |
Main Index |
Thread Index |
Old Index