Re: cache_hot_time

From: Nick Piggin
Date: Thu Nov 04 2004 - 20:40:42 EST


Anton Blanchard wrote:
Hi,

Im catching up on all the scheduler changes, and I noticed some large
changes in cache_hot_time. All but ia64 seem to have shifted by 1000. Is
this intententional?


Don't think so. They should be all in units of sched_clock()
(ie. ns), so 10ms and 2.5ms are surely the intended values here.

Anton

include/linux/topology.h: .cache_hot_time = (5*1000/2), include/asm-i386/topology.h: .cache_hot_time = (10*1000),
include/asm-ppc64/topology.h: .cache_hot_time = (10*1000),
include/asm-x86_64/topology.h: .cache_hot_time = (10*1000),
include/asm-ia64/topology.h: .cache_hot_time = (10*1000000),
include/asm-ia64/topology.h: .cache_hot_time = (10*1000000),


-
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/