Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2013 21:26:09 +0100
From:      Davide Italiano <davide@freebsd.org>
To:        Marius Strobl <marius@alchemy.franken.de>
Cc:        Alexander Motin <mav@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>, freebsd-arch@freebsd.org
Subject:   Re: [RFC/RFT] calloutng
Message-ID:  <CACYV=-GkNWZD_KwXM9o7%2BYMyFzw1bw1KQp4c3=--Co1dZHEUFQ@mail.gmail.com>
In-Reply-To: <20130121095457.GL85306@alchemy.franken.de>
References:  <50CCAB99.4040308@FreeBSD.org> <50CE5B54.3050905@FreeBSD.org> <50D03173.9080904@FreeBSD.org> <20121225232126.GA47692@alchemy.franken.de> <50DB4EFE.2020600@FreeBSD.org> <20130106152313.GD26039@alchemy.franken.de> <50EBF921.2000304@FreeBSD.org> <20130113180940.GM26039@alchemy.franken.de> <50F30CAB.3000001@FreeBSD.org> <20130121095457.GL85306@alchemy.franken.de>

next in thread | previous in thread | raw e-mail | index | archive | help
[trimmed old mails]

Here's a new version of the patch:
http://people.freebsd.org/~davide/patches/calloutng-11022012.diff

Significant bits changed (after wider discussion and suggestion by phk@):
- Introduction of the new sbintime_t type (32.32 fixed point) with the
respective conversion (sbintime2bintime, sbintime2timeval etc...)
- switch from 64.64 (struct bintime) format to measure time to sbintime_t
- Use sbintime_t to represent expected sleep time instead of measuring
it in microseconds (cpu_idle_acpi(), cpu_idle_spin() ...).

Thanks,

Davide



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACYV=-GkNWZD_KwXM9o7%2BYMyFzw1bw1KQp4c3=--Co1dZHEUFQ>