From owner-p4-projects@FreeBSD.ORG Tue Mar 28 15:23:49 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8F16916A420; Tue, 28 Mar 2006 15:23:49 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F93316A423 for ; Tue, 28 Mar 2006 15:23:49 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB37943D49 for ; Tue, 28 Mar 2006 15:23:48 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k2SFNm9Z033613 for ; Tue, 28 Mar 2006 15:23:48 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2SFNmQ2033610 for perforce@freebsd.org; Tue, 28 Mar 2006 15:23:48 GMT (envelope-from jhb@freebsd.org) Date: Tue, 28 Mar 2006 15:23:48 GMT Message-Id: <200603281523.k2SFNmQ2033610@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Cc: Subject: PERFORCE change 94172 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2006 15:23:49 -0000 http://perforce.freebsd.org/chv.cgi?CH=94172 Change 94172 by jhb@jhb_slimer on 2006/03/28 15:23:27 kmupetext() needs Giant still. Affected files ... .. //depot/projects/smpng/sys/kern/link_elf.c#35 edit Differences ... ==== //depot/projects/smpng/sys/kern/link_elf.c#35 (text+ko) ==== @@ -759,8 +759,10 @@ #ifdef GPROF /* Update profiling information with the new text segment. */ + mtx_lock(&Giant); kmupetext((uintfptr_t)(mapbase + segs[0]->p_vaddr - base_vaddr + segs[0]->p_memsz)); + mtx_unlock(&Giant); #endif ef->dynamic = (Elf_Dyn *) (mapbase + phdyn->p_vaddr - base_vaddr);