From owner-freebsd-current@FreeBSD.ORG Fri Mar 27 20:56:58 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D527106566C for ; Fri, 27 Mar 2009 20:56:58 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 4933A8FC14 for ; Fri, 27 Mar 2009 20:56:57 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 25C8E78CD1; Fri, 27 Mar 2009 20:56:57 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id n2RKuulE006713; Fri, 27 Mar 2009 20:56:56 GMT (envelope-from phk@critter.freebsd.dk) To: Prashant Vaibhav From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 28 Mar 2009 02:18:42 +0530." <17560ccf0903271348p52351481v4cc83c14037e8836@mail.gmail.com> Date: Fri, 27 Mar 2009 20:56:56 +0000 Message-ID: <6712.1238187416@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: freebsd-current@freebsd.org, Robert Watson Subject: Re: Improving the kernel/i386 timecounter performance (GSoC proposal) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2009 20:56:58 -0000 In message <17560ccf0903271348p52351481v4cc83c14037e8836@mail.gmail.com>, Prash ant Vaibhav writes: >Actually OS X is more similar than that: the shared page also contains >functions that can be called by user applications, though their entry points >are fixed and they're not in any particular format like elf/mach-o. >Userspace implementations of gettimeofday, bcopy etc. are provided in the >kernel itself, which is a nice design imo as the specific version to load is >chosen by the kernel at boot time depending on processor capabilities. That would get my vote. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.