From owner-soc-status@FreeBSD.ORG Sun Jun 28 17:25:22 2009 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F1CE106566C for ; Sun, 28 Jun 2009 17:25:22 +0000 (UTC) (envelope-from admin@mercurysquad.com) Received: from mail-qy0-f186.google.com (mail-qy0-f186.google.com [209.85.221.186]) by mx1.freebsd.org (Postfix) with ESMTP id 272058FC08 for ; Sun, 28 Jun 2009 17:25:21 +0000 (UTC) (envelope-from admin@mercurysquad.com) Received: by qyk16 with SMTP id 16so3961288qyk.3 for ; Sun, 28 Jun 2009 10:25:21 -0700 (PDT) MIME-Version: 1.0 Sender: admin@mercurysquad.com Received: by 10.229.100.9 with SMTP id w9mr1469582qcn.31.1246209921240; Sun, 28 Jun 2009 10:25:21 -0700 (PDT) Date: Sun, 28 Jun 2009 22:55:21 +0530 X-Google-Sender-Auth: bc58ac77fdbf96a9 Message-ID: <66b068eb0906281025g4621ff36u62b741e2b8f396a7@mail.gmail.com> From: Prashant Vaibhav To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: callout api - status report 2 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2009 17:25:22 -0000 Hi, This week I've finished implementation of the modified callout subsystem which now uses binary heaps. Casual testing shows no signficant issues anymore. Rescheduling of existing callouts is also now more efficient than removing/reinserting them, as it now just changes the timeout ticks of the callout and readjusts the queue as appropriate. With the basis in place, next week I plan to start implementing the new callout API. I plan to rewrite a lot of the code from sys/kern/kern_timeout.c to take advantage of the fact that each operation on the callout queue leaves it in a consistent state, thus giving us opportunity to use finer-grained locking. Perforce is now in sync with my local copy (//depot/projects/soc2009/calloutapi/) and src/sys can be checked out to build a test kernel. I plan to resync it every few days (with the goal being that each version should compile). I've also started a blog to document the development at: http://freebsd.mercurysquad.com/ Best, Prashant