From owner-cvs-src@FreeBSD.ORG Mon Sep 8 08:25:14 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 180261065675; Mon, 8 Sep 2008 08:25:14 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id E01F78FC1D; Mon, 8 Sep 2008 08:25:13 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 8B11646B2D; Mon, 8 Sep 2008 04:25:11 -0400 (EDT) Date: Mon, 8 Sep 2008 09:25:12 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Warner Losh In-Reply-To: <200809080041.m880flYK021067@repoman.freebsd.org> Message-ID: References: <200809080041.m880flYK021067@repoman.freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/arm/conf NSLU X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2008 08:25:14 -0000 On Mon, 8 Sep 2008, Warner Losh wrote: > Commit the no-brainer parts of my space saving kernel experiments. We > don't inline the locking primitives, and only grab those parts of mii > that we really need. Other space optimizations are too agressive for > the generic file (removing all of usb, and loading it as kernel > modules). It's been a few years since we selected defaults on lock inlining (and other optional parameters), and it might well be time to re-evaluate our defaults. Cache footprint on code continues to play a significant role in performance, the trade-offs for function invocation have changed quite a bit over the years. A more thorough performance analysis of lock inlining is probably overdue for all platforms, not just small embedded ones. Robert N M Watson Computer Laboratory University of Cambridge