lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120831083727.GA2903@liondog.tnic>
Date:	Fri, 31 Aug 2012 10:37:28 +0200
From:	Borislav Petkov <bp@...en8.de>
To:	Marcos Souza <marcos.souza.org@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Get the min and max frequency of a processor

On Thu, Aug 30, 2012 at 02:48:33PM -0300, Marcos Souza wrote:
> Hi people,
> 
> I'm changing an application to get the min and max frequency of a
> processor. The device is using cpufreq, and it will show the user  the
> min and max frequency that we can overclock.
> 
> There is a way to get these values, instead of reading the /sys files,
> or is this the solution?

What's wrong with using:

/sys/devices/system/cpu/cpu<N>/cpufreq/scaling_available_frequencies

?

-- 
Regards/Gruss,
    Boris.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ