diff options
Diffstat (limited to 'usr/src/uts/common/os/vm_pageout.c')
-rw-r--r-- | usr/src/uts/common/os/vm_pageout.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr/src/uts/common/os/vm_pageout.c b/usr/src/uts/common/os/vm_pageout.c index 2a521fdb5d..28045763e5 100644 --- a/usr/src/uts/common/os/vm_pageout.c +++ b/usr/src/uts/common/os/vm_pageout.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -36,8 +36,6 @@ * contributors. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/types.h> #include <sys/t_lock.h> #include <sys/param.h> @@ -808,7 +806,7 @@ loop: } else { nscan_limit = desscan; } - pageout_lbolt = lbolt; + pageout_lbolt = ddi_get_lbolt(); sample_start = gethrtime(); /* @@ -830,7 +828,7 @@ loop: * just every once in a while. */ if ((pcount & PAGES_POLL_MASK) == PAGES_POLL_MASK) { - pageout_cycle_ticks = lbolt - pageout_lbolt; + pageout_cycle_ticks = ddi_get_lbolt() - pageout_lbolt; if (pageout_cycle_ticks >= pageout_ticks) { ++pageout_timeouts; break; |