lkml.org 
[lkml]   [2004]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: bizarre 2.6.8.1 /sys permissions
>  > $ 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog