[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <17606.31023.273943.551848@cargo.ozlabs.ibm.com>
Date: Wed, 26 Jul 2006 06:03:59 +1000
From: Paul Mackerras <paulus@...ba.org>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Neil Horman <nhorman@...driver.com>,
Segher Boessenkool <segher@...nel.crashing.org>,
linux-kernel@...r.kernel.org, a.zummo@...ertech.it,
jg@...edesktop.org
Subject: Re: [PATCH] RTC: Add mmap method to rtc character driver
H. Peter Anvin writes:
> Not really. This introduces a potentially very difficult support
> user-visible interface. Consider a tickless kernel -- you might end up
> taking tick interrupts ONLY to update this page, since you don't have
> any way of knowing when userspace wants to look at it.
It's not that bad; if userspace is running, the cpu isn't idle, so
there isn't the motivation to go tickless on that cpu. In other
words, if every cpu has suspended ticks, then no cpu can be running
stuff that needs to look at this page.
Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists