Re: bizarre 2.6.8.1 /sys permissions

From: Dan Hollis
Date: Wed Aug 25 2004 - 18:37:32 EST


> > $ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
> > cat: /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq: Permission denied
> Reading this file causes reads from hardware on some cpufreq drivers.
> This can be a slow operation, so a user could degrade system performance
> for everyone else by repeatedly cat'ing it.

any reason why cpuinfo_cur_freq cant read cpu_khz ?

or rather, is there any reason why cpuinfo_cur_freq and /proc/cpuinfo
should legitimately differ?

-Dan

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