From: Jussi Laako <jussi@sonarnerd.net>
To: linux-kernel@vger.kernel.org
Subject: HPET mmap() problem
Date: Sun, 15 Mar 2009 00:20:03 +0200 [thread overview]
Message-ID: <49BC2D93.8090507@sonarnerd.net> (raw)
Hi,
In the JACK audio connection kit we have support for mmap() of /dev/hpet
as our time source (as one of the possibilities). However, there's a
nasty issue with the current driver as it reserves one of the three
comparator-timers per each open() and denies further opens when the
timers are exhausted. And in case it's already used as a system clock
source, two of the timers are already reserved...
However, we are only interested on the main counter value, and would
like to have unlimited access from number of processes to this value
through mmap() of the device.
Any ideas/recommendations/suggestions on which way to change the driver
to support this? Or even better, if someone is already working on this?
Best regards,
- Jussi
next reply other threads:[~2009-03-14 22:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-14 22:20 Jussi Laako [this message]
2009-03-16 10:01 ` HPET mmap() problem Clemens Ladisch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49BC2D93.8090507@sonarnerd.net \
--to=jussi@sonarnerd.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox