Article View: fa.netbsd.tech.kern
Article #61Re: [GSoC 2013] Interested in "Light weight precision user level time reading"
From: zhixiang yu
Date: Sun, 14 Apr 2013 22:35
Date: Sun, 14 Apr 2013 22:35
24 lines
4177 bytes
4177 bytes
cc: tech-kern since it also touches kerneland On Mon, Apr 15, 2013 at 12:17 AM, zhixiang yu <zxyu.core@gmail.com> wrote: > Hi List, > > I'm a graduate student from China. I'm interested in the NetBSD's "Light > weight precision user level time reading" project. I'd like to take it as > my GSoC 2013 project. > > But before sending the detailed proposal, I'd like listen to your > advices/comments since my solution is a bit different: Allocate one special > page on which the kernel and user-space process can share data such as > bintime,etc. The kernel will update the shared data at some event point, > the kernel will also need to tell which timecounter it's using. The > userspace just reads out the bintime and read the timecounter to adjust the > final result. Sure the concurrency between kernel and userspace should be > resolved properly. > > What do you think about this solution? Is it acceptable? > > Thanks in advance >
Technical Details
Message-ID:
<fa.7qDdDj14O28iM7hgnB5x8K8lH5s@ifi.uio.no>Path:
arc1-ca.pugleaf.net!hg5ni15550wib.1!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.nobody.at!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mailReferences:
<fa.NavTrP2qnSjoMdtUs0zWDikl7iA@ifi.uio.no>Show Full Headers
Complete Article Headers
X-Google-Thread: b7e13b6095,7f4e4fabf502ba0b,start
X-Google-Attributes: gidb7e13b6095,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.180.20.105 with SMTP id m9mr6659046wie.5.1366254633948;
Wed, 17 Apr 2013 20:10:33 -0700 (PDT)
Path: arc1-ca.pugleaf.net!hg5ni15550wib.1!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.nobody.at!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mail
From: zhixiang yu <zxyu.core@gmail.com>
Newsgroups: fa.netbsd.tech.kern
Subject: Re: [GSoC 2013] Interested in "Light weight precision user level time reading"
Date: Sun, 14 Apr 2013 22:35:26 UTC
Organization: Internet mailing list
Lines: 32
Sender: tech-kern-owner@NetBSD.org
Message-ID: <fa.7qDdDj14O28iM7hgnB5x8K8lH5s@ifi.uio.no>
References: <fa.NavTrP2qnSjoMdtUs0zWDikl7iA@ifi.uio.no>
NNTP-Posting-Host: mail-jess.uio.no
Mime-Version: 1.0
X-Trace: readme.uio.no 1365978926 17460 129.240.7.9 (14 Apr 2013 22:35:26 GMT)
X-Complaints-To: abuse@uio.no
NNTP-Posting-Date: Sun, 14 Apr 2013 22:35:26 +0000 (UTC)
Cc: christos@netbsd.org, tech-kern@NetBSD.org
To: tech-userlevel@netbsd.org
Delivered-To: tech-kern@netbsd.org
X-Virus-Scanned: amavisd-new at NetBSD.org
X-Spam-Flag: NO
X-Spam-Score: 2.705
X-Spam-Level: **
X-Spam-Status: No, score=2.705 tagged_above=2 required=8 tests=[BAYES_00=-1.5,
DATE_IN_PAST_03_06=1.2, FREEMAIL_FROM=0.001, HEADER_SPAM=1.994,
HTML_MESSAGE=1, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01,
T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=no
Authentication-Results: mail.NetBSD.org (amavisd-new);
dkim=pass (2048-bit key) header.d=gmail.com
X-Virus-Scanned: amavisd-new at NetBSD.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:x-received:in-reply-to:references:date:message-id
:subject:from:to:cc:content-type;
bh=9Gc7ul4SGMDYsaOQD3wHzsfMtMzEdTdeilAOSx6DJsk=;
b=ILqwUQSTVq4oCb/IH/eoedMV77oaSibeZ8V9+9yBpSOVbV1YMh0S9sR72acA+hkXpz
tqvOK7RRaLJLOa9HVrOKM+H0CDtipvw/3cB0s3sh5LUq+AfvR1BXKI8pmbnTGJjRmpC5
0F/3Pz1N/pNNjUdLbVYryxBcaE5axK1u5wi7GH1qaIA/ixC2UXca8Vr6qN3IMtFYbL/j
dk0wdPRcDEoBn293n4NUNTRInAKa2NNSXUMlqWGoeMCL+H0b5IWwKaNAr5OqK3IoafUu
ieKSp2bQZvQPPWppjcyN+qpbZp4GmdA+rvQySEIA10ArHSkuONcXMPAd38jkfOJr4mTZ
2dcg==
X-Received: by 10.229.10.103 with SMTP id o39mr3373770qco.88.1365956728530;
Sun, 14 Apr 2013 09:25:28 -0700 (PDT)
In-Reply-To: <CADr9iNuGq2UroYOhHKV8raYiF_aakXx-8wOyJNeFpBA10W8RUQ@mail.gmail.com>
List-Id: tech-kern.NetBSD.org
X-FA-Processed: Removed HTML alternative
Original-Date: Mon, 15 Apr 2013 00:25:28 +0800
Original-Message-Id: <CADr9iNtsfvH6yJLkmAdzFnSH-U=1abRZdR_Bc+8ZyLK_FTnckw@mail.gmail.com>
Original-References: <CADr9iNuGq2UroYOhHKV8raYiF_aakXx-8wOyJNeFpBA10W8RUQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit