Date: Tue, 16 May 2006 23:46:27 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 97308 for review Message-ID: <200605162346.k4GNkRgw008498@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=97308 Change 97308 by kmacy@kmacy_storage:sun4v_rwbuf on 2006/05/16 23:46:14 don't do unlocked reads of tsb Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/tsb.c#14 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/tsb.c#14 (text+ko) ==== @@ -194,7 +194,6 @@ tsb_index = (va >> tsb_shift) & TSB_MASK(tsb); entry = (tte_t *)TLB_PHYS_TO_DIRECT(tsb->hvtsb_pa + 2*tsb_index*sizeof(uint64_t)); - *(entry) = 0; *(entry + 1) = 0; membar(Sync); @@ -213,7 +212,6 @@ for (tva = sva; tva < eva; tva += PAGE_SIZE) { tsb_index = (tva >> tsb_shift) & tsb_mask; entry = (tte_t *)TLB_PHYS_TO_DIRECT(tsb->hvtsb_pa + 2*tsb_index*sizeof(uint64_t)); - *(entry) = 0; *(entry + 1) = 0; } @@ -270,8 +268,6 @@ if ((tte_data = tsb_get_tte(&kernel_td[TSB4M_INDEX], va)) != 0) goto done; - if ((tte_data = tsb_get_tte(&kernel_td[TSB8K_INDEX], va)) != 0) - goto done; /* * handle user data
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605162346.k4GNkRgw008498>