From a60e5bb6eb6d2f0fa1b3f3cdfcf4088b03c19ccd Mon Sep 17 00:00:00 2001 From: Kip Macy Date: Mon, 27 Nov 2006 06:51:51 +0000 Subject: [PATCH] re-enable tte hash resize, corruption was caused by a missing htole32 in mpt_cam.c --- sys/sun4v/sun4v/tte_hash.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/sun4v/sun4v/tte_hash.c b/sys/sun4v/sun4v/tte_hash.c index 098f6957edc..d25f15f6f86 100644 --- a/sys/sun4v/sun4v/tte_hash.c +++ b/sys/sun4v/sun4v/tte_hash.c @@ -615,8 +615,6 @@ tte_hash_update(tte_hash_t th, vm_offset_t va, tte_t tte_data) int tte_hash_needs_resize(tte_hash_t th) { - return (0); /* XXX disabel resize for the moment */ - return ((th->th_entries > (1 << (th->th_shift + PAGE_SHIFT - TTE_SHIFT + 1))) && (th != &kernel_tte_hash)); }