From owner-svn-src-all@FreeBSD.ORG Mon May 24 16:06:55 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC9291065672; Mon, 24 May 2010 16:06:55 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id B2F188FC1E; Mon, 24 May 2010 16:06:54 +0000 (UTC) Received: by fxm4 with SMTP id 4so3406993fxm.13 for ; Mon, 24 May 2010 09:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=kkxZMg3bmN8XMDhrIh5838f7nRr90ha+Gh+OBZKfg0o=; b=LkcgLXjSdkUYW39UehLS4LzXikJknwRrrYYqIR/8maHNCIRLpNcc+6ePHjY7QE+mQJ YHiKSmZ6aKss/14X7cDde2G6GX6PDAjt7hDWVjjbacqoLeQv++2lQylk90JiEhsEHRU/ RhHxNAEV5KTAnvz82W+LNATg3XLEzzqbTVE1w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=ntn5I0O5X0S1g89pwyZOHTMFB7CXIJ3hqBNfB1pLM+fzGuCudKnOLGM21qwtNuN6al z2+OxndvAAJ+ePXvGQmS+KFzsJkdLfJG1UzmFE3pJSamno0BwPLePSBvz9rMErOtBtIU uKy7Zw40F3po6v68DPReW1ObWcyfxJqcWcWxk= Received: by 10.223.67.144 with SMTP id r16mr4841956fai.102.1274717213599; Mon, 24 May 2010 09:06:53 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id j23sm20179637faa.2.2010.05.24.09.06.51 (version=SSLv3 cipher=RC4-MD5); Mon, 24 May 2010 09:06:52 -0700 (PDT) Sender: Alexander Motin Message-ID: <4BFAA409.4040008@FreeBSD.org> Date: Mon, 24 May 2010 19:06:33 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Andriy Gapon References: <201005241140.o4OBeova088506@svn.freebsd.org> <4BFA8F22.6040402@freebsd.org> In-Reply-To: <4BFA8F22.6040402@freebsd.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r208494 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include kern pc98/cbus sys x86/isa x86/x86 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2010 16:06:55 -0000 Andriy Gapon wrote: > on 24/05/2010 14:40 Alexander Motin said the following: >> Author: mav >> Date: Mon May 24 11:40:49 2010 >> New Revision: 208494 >> URL: http://svn.freebsd.org/changeset/base/208494 >> >> Log: >> - Implement MI helper functions, dividing one or two timer interrupts with >> arbitrary frequencies into hardclock(), statclock() and profclock() calls. >> Same code with minor variations duplicated several times over the tree for >> different timer drivers and architectures. >> - Switch all x86 archs to new functions, simplifying the code and removing >> extra logic from timer drivers. Other archs are also welcome. > > could you please describe the new code/KPI in greater detail, perhaps on a more > appropriate mailing list? Sent some summary to arch@. > For me it is not immediately obvious why IPI_PROFCLOCK is gone now. I haven't > spent much time reverse engineering this change and perhaps it's easier for you > to describe the change. IPI_PROFCLOCK is not used any more. Separation between statclock() and profclock() now handled in common machine-independent code. Timer driver generates interrupts, MD code manages timers configuration and events redistribution to every CPU, using up to two IPIs if needed, MI code do the rest of things. -- Alexander Motin