summaryrefslogtreecommitdiff
path: root/usr/src/uts/sfmmu/vm/hat_sfmmu.c
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2017-09-29 15:07:06 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2017-09-29 15:07:06 +0000
commitffeae41cb1d13f7eed5a29287a0b7bbac7edc7b5 (patch)
treee17ea3d0ac0be23167b93e139add1d37231a6993 /usr/src/uts/sfmmu/vm/hat_sfmmu.c
parent917c950a6b639832805b114bfefaa03d982e59f3 (diff)
downloadillumos-joyent-ffeae41cb1d13f7eed5a29287a0b7bbac7edc7b5.tar.gz
Revert "OS-6306 accurate in-kernel zone RSS tracking" [needs more work]
This reverts commit 5ae84a5233b723c890288b775cb5317db2e54d61.
Diffstat (limited to 'usr/src/uts/sfmmu/vm/hat_sfmmu.c')
-rw-r--r--usr/src/uts/sfmmu/vm/hat_sfmmu.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/usr/src/uts/sfmmu/vm/hat_sfmmu.c b/usr/src/uts/sfmmu/vm/hat_sfmmu.c
index 2ef3ea20e8..b7539c828c 100644
--- a/usr/src/uts/sfmmu/vm/hat_sfmmu.c
+++ b/usr/src/uts/sfmmu/vm/hat_sfmmu.c
@@ -24,7 +24,6 @@
/*
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
* Copyright 2016 Gary Mills
- * Copyright 2017 Joyent, Inc.
*/
/*
@@ -86,7 +85,6 @@
#include <sys/fpu/fpusystm.h>
#include <vm/mach_kpm.h>
#include <sys/callb.h>
-#include <sys/zone.h>
#ifdef DEBUG
#define SFMMU_VALIDATE_HMERID(hat, rid, saddr, len) \
@@ -935,7 +933,6 @@ static kphysm_setup_vector_t sfmmu_update_vec = {
} \
pp->p_mapping = hme; \
pp->p_share++; \
- zone_add_page(pp); \
}
/*
@@ -956,7 +953,6 @@ static kphysm_setup_vector_t sfmmu_update_vec = {
\
ASSERT(pp->p_share > 0); \
pp->p_share--; \
- zone_rm_page(pp); \
\
if (hme->hme_prev) { \
ASSERT(pp->p_mapping != hme); \
@@ -7354,8 +7350,6 @@ retry:
tpp->p_mapping = NULL;
dpp->p_share = tpp->p_share;
tpp->p_share = 0;
- dpp->p_zoneid = tpp->p_zoneid;
- tpp->p_zoneid = ALL_ZONES;
while (index != 0) {
index = index >> 1;