Print this page
6854 Set but not used in hat_sfmmu.c
*** 21,30 ****
--- 21,31 ----
/*
* Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights reserved.
*/
/*
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2016 Gary Mills
*/
/*
* VM - Hardware Address Translation management for Spitfire MMU.
*
*** 8188,8198 ****
cpuset_t cpuset;
int sync = 0;
page_t *rootpp;
struct sf_hment *sfhme;
struct sf_hment *tmphme = NULL;
- struct hme_blk *hmeblkp;
uint_t pszc;
page_t *lastpp;
cpuset_t tset;
pgcnt_t npgs;
kmutex_t *pml;
--- 8189,8198 ----
*** 8226,8236 ****
ASSERT(sz <= pszc);
rootpp = PP_GROUPLEADER(pp, sz);
for (sfhme = rootpp->p_mapping; sfhme; sfhme = tmphme) {
tmphme = sfhme->hme_next;
ASSERT(!IS_PAHME(sfhme));
- hmeblkp = sfmmu_hmetohblk(sfhme);
if (hme_size(sfhme) != sz) {
continue;
}
tset = sfmmu_pageunload(rootpp, sfhme, sz);
CPUSET_OR(cpuset, tset);
--- 8226,8235 ----
*** 13234,13244 ****
*/
static void
sfmmu_rm_large_mappings(page_t *pp, int ttesz)
{
struct sf_hment *sfhmep;
- struct hme_blk *hmeblkp;
int index;
pgcnt_t npgs;
ASSERT(ttesz > TTE8K);
--- 13233,13242 ----
*** 13253,13263 ****
*/
for (sfhmep = pp->p_mapping; sfhmep; sfhmep = sfhmep->hme_next) {
if (IS_PAHME(sfhmep))
continue;
- hmeblkp = sfmmu_hmetohblk(sfhmep);
if (hme_size(sfhmep) == ttesz) {
/*
* another mapping of the same size. don't clear index.
*/
return;
--- 13251,13260 ----