Hi, On Friday 24 August 2007, Linus Torvalds wrote:
> Why the hell can't you just make the code sane and do what the comment > *says* it does, and just admit that HZ has nothing what-so-ever to do with > that thing, and then you do > > unsigned int sysctl_sched_granularity __read_mostly = 3000000ULL; > > and be done with it. Instead of this *insane* expectation that HZ is > always 1000, and any other value means that you want bigger granularity, > which is not true and makes no sense. I'd actually like to base this on the cpu frequency or the number of cycles to be precise, e.g. with 10^7 cycles this would be 100ms for 100MHz and 10ms for 1GHz. bye, Roman - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/