From owner-p4-projects@FreeBSD.ORG Thu Jul 6 22:17:37 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 37FCE16A4E1; Thu, 6 Jul 2006 22:17:37 +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 D34B116A4DF for ; Thu, 6 Jul 2006 22:17:36 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A649A43D49 for ; Thu, 6 Jul 2006 22:17:36 +0000 (GMT) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k66MHaTF054124 for ; Thu, 6 Jul 2006 22:17:36 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k66MHa2P054121 for perforce@freebsd.org; Thu, 6 Jul 2006 22:17:36 GMT (envelope-from jb@freebsd.org) Date: Thu, 6 Jul 2006 22:17:36 GMT Message-Id: <200607062217.k66MHa2P054121@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jb@freebsd.org using -f From: John Birrell To: Perforce Change Reviews Cc: Subject: PERFORCE change 100809 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: Thu, 06 Jul 2006 22:17:37 -0000 http://perforce.freebsd.org/chv.cgi?CH=100809 Change 100809 by jb@jb_freebsd2 on 2006/07/06 22:17:00 Remove the percpu ktrace #ifdef that is not used anywhere in the tree. Move a pointer so that a couple of ints are next to each other. Affected files ... .. //depot/projects/dtrace/src/sys/sys/pcpu.h#9 edit Differences ... ==== //depot/projects/dtrace/src/sys/sys/pcpu.h#9 (text+ko) ==== @@ -68,15 +68,11 @@ cpumask_t pc_other_cpus; /* Mask of all other cpus */ SLIST_ENTRY(pcpu) pc_allcpu; struct lock_list_entry *pc_spinlocks; -#ifdef KTR_PERCPU - int pc_ktr_idx; /* Index into trace table */ - char *pc_ktr_buf; -#endif PCPU_MD_FIELDS; struct vmmeter pc_cnt; /* VM stats counters */ struct device *pc_device; + struct cyc_cpu *pc_cyclic; /* Cyclic subsystem data */ int pc_ncyclic; /* Number of cyclic timers enabled. */ - struct cyc_cpu *pc_cyclic; /* Cyclic subsystem data */ u_int pc_intr_actv; /* Used by DTrace. */ uintptr_t pc_dtrace_caller; /* Used by DTrace. */ uint64_t cpu_dtrace_chillmark; /* DTrace chill mark time */