Module Name: src Committed By: maxv Date: Wed Jul 25 11:47:07 UTC 2018
Modified Files: src/sys/arch/amd64/include: pmap.h src/sys/arch/i386/include: pmap.h Log Message: Remove NPTECL, unused. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/arch/amd64/include/pmap.h cvs rdiff -u -r1.118 -r1.119 src/sys/arch/i386/include/pmap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/amd64/include/pmap.h diff -u src/sys/arch/amd64/include/pmap.h:1.46 src/sys/arch/amd64/include/pmap.h:1.47 --- src/sys/arch/amd64/include/pmap.h:1.46 Sat May 19 15:03:26 2018 +++ src/sys/arch/amd64/include/pmap.h Wed Jul 25 11:47:07 2018 @@ -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 *); Index: src/sys/arch/i386/include/pmap.h diff -u src/sys/arch/i386/include/pmap.h:1.118 src/sys/arch/i386/include/pmap.h:1.119 --- src/sys/arch/i386/include/pmap.h:1.118 Mon Sep 19 20:46:55 2016 +++ src/sys/arch/i386/include/pmap.h Wed Jul 25 11:47:07 2018 @@ -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