Re: [PATCH] RTC: Add mmap method to rtc character driver

From: Paul Mackerras
Date: Tue Jul 25 2006 - 16:05:21 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/