Re: [PATCH 2/11] Sched clock paravirt op

From: Andi Kleen
Date: Tue Feb 06 2007 - 07:33:16 EST



> .write_msr = native_write_msr,
> .read_tsc = native_read_tsc,
> .read_pmc = native_read_pmc,
> + .get_scheduled_cycles = native_read_tsc,
> + .get_cpu_khz = native_calculate_cpu_khz,
> .load_tr_desc = native_load_tr_desc,
Description missing?

Please write at least two paragraphs or more on each new hook
you want to add.

My feeling is that rdtsc should work fine here. If not please explain.

-Andi

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