User: Password:
Subscribe / Log in / New account

The trouble with the TSC

The trouble with the TSC

Posted May 21, 2010 10:39 UTC (Fri) by tialaramex (subscriber, #21167)
In reply to: The trouble with the TSC by dmadsen
Parent article: The trouble with the TSC

The kernel also "goes out of its way" to stop you from trying to generically hook system calls. No doubt there are thousands of developers out there who think they have a brilliant use case for hooking a system call, and no doubt one of them really does - he should talk to the LKML about his idea. The rest though, were going to do something horrid and thoughtless and then everyone else was going to have to live with the resulting mess. So, you don't get to do that in a vanilla kernel.

There's a balance to be struck and I think that the difference between what people think the TSC will do (cheap, fast, reliable way to measure time) and what they get (rarely all, and often none of the above) makes the status quo acceptable. I wouldn't support actively blocking use of TSC, but it certainly makes no sense for the kernel folk to endorse it as this patch proposed.

(Log in to post comments)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds