Messages in this thread | | | Date | 08 Dec 1999 10:01:00 +0200 | From | (Kai Henningsen) | Subject | Re: 2.3.30pre1 syscall w/6 args support? |
| |
torvalds@transmeta.com (Linus Torvalds) wrote on 07.12.99 in <Pine.LNX.4.10.9912072137120.1184-100000@penguin.transmeta.com>:
> So this would be just another such "virtually pinned" page, except it > would be readable from user space too (but obviously not writable). It can > contain any number of trampolines and/or other data (although I don't > really see what static data would ever be that timing-critical).
Not static data, no. But think about putting some dynamic data there. Like, say, some version of user-space readable jiffies. There are some applications that would benefit from having access to those without syscall overhead. There may be some other similar stuff, too.
As for jiffies, under good ol' DOS, one thing I've done fairly often was to use the BIOS ticker value to decide if I should refresh some cached values, like, say, my idea of system time (usually by the rule "no more than once per tick"), or user feedback, so as to not spend too much time doing that. There doesn't seem to be a good equivalent for Linux currently.
MfG Kai
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |