From owner-p4-projects@FreeBSD.ORG Mon Jul 13 13:52:15 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 094C31065677; Mon, 13 Jul 2009 13:52:15 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA0131065670 for ; Mon, 13 Jul 2009 13:52:14 +0000 (UTC) (envelope-from pvaibhav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9CF278FC17 for ; Mon, 13 Jul 2009 13:52:14 +0000 (UTC) (envelope-from pvaibhav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n6DDqEgU099952 for ; Mon, 13 Jul 2009 13:52:14 GMT (envelope-from pvaibhav@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n6DDqEOn099950 for perforce@freebsd.org; Mon, 13 Jul 2009 13:52:14 GMT (envelope-from pvaibhav@FreeBSD.org) Date: Mon, 13 Jul 2009 13:52:14 GMT Message-Id: <200907131352.n6DDqEOn099950@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to pvaibhav@FreeBSD.org using -f From: Prashant Vaibhav To: Perforce Change Reviews Cc: Subject: PERFORCE change 166005 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: Mon, 13 Jul 2009 13:52:16 -0000 http://perforce.freebsd.org/chv.cgi?CH=166005 Change 166005 by pvaibhav@pvaibhav_matrix on 2009/07/13 13:51:24 Modified Milestones heavily to reflect what has been done so far, and what the plan is for the near future. Needs review by mentors. Affected files ... .. //depot/projects/soc2009/calloutapi/Milestones#2 edit Differences ... ==== //depot/projects/soc2009/calloutapi/Milestones#2 (text+ko) ==== @@ -18,29 +18,41 @@ 23 May [[ GSoC 2009 coding phase begins ]] -25 May - 31 May Implement callout list data structure (binary heap) -01 Jun - 07 Jun Add functions for user apps to arm/cancel/etc. callout - timers (user-facing changes should be completed) -08 Jun - 14 Jun Implement hardware timer interface for the PIT (init, - deinit, arm, conversion functions etc.) -15 Jun - 20 Jun Modify softclock to expire next-in-line timer. By this - time a prototype implementation should be working. -21 Jun - 28 Jun (vacation) - tentative -29 Jun - 05 Jul Continue softclock() modification, make PIT robust. At - this stage, the prototype implementation should be on - par with current scheme, in terms of functionality -06 Jul - 12 Jul Start work with HPET abstraction / deadline mode +25 May - 31 May Start to implement binary heap in userspace program +01 Jun - 07 Jun +08 Jun - 14 Jun +15 Jun - 20 Jun Finish binary heap implementation, convert to C macros +21 Jun - 28 Jun Replace callout "wheel" with the binary heap, modify + callout_* functions to use the minheap as backend +29 Jun - 05 Jul Modify softclock() to expire next-in-queue callout(s) + Modify hardclock() to schedule softclock() only when + a callout is immediately pending. + + >> First deliverable: the prototype implementation is + on par with current scheme, in terms of functionality + +06 Jul - 12 Jul Start work with implementing the new callout API, where + needed, replace existing function bodies to act as + wrappers to the 'new' API (a la timeout()). 13 Jul [[ Midterm evaluations due ]] -13 Jul - 19 Jul Finish off implementation of deadline mode (and get rid - of PIT's limited range), add TSC support also -20 Jul - 26 Jul Implement automatic choice of best timer (between PIT - and HPET, depending on availability), fail-safe mode -27 Jul - 03 Aug Overall code review, bug squash & polish, devise the - benchmarking plan -04 Aug - 10 Aug Continue with code review and benchmarking, start to - write API documentation, man pages +13 Jul - 19 Jul Finish new callout API and modify some existing parts + of the kernel as test case ('if_iwi' and sleepqueue). + + >> Second deliverable: New callout API works, porting + existing code can begin. + +20 Jul - 26 Jul Modify lapic access functions and implement wrapper + around the timer interface, add functions for getting + frequency, current tick count etc. +27 Jul - 03 Aug Implement programming the timer (currently lapic only) + to fire interrupt at a deadline (ie. expiry time of the + next-in-queue callout). +04 Aug - 10 Aug Test deadline mode, if no issues found, move to HPET + If issues found, work on resolving + + >> Third deliverable: prototype dynamic-HZ kernel 10 Aug [[ Suggested pencils down date ]]