processor namespace

S.Çağlar Onur caglar at pardus.org.tr
Thu Aug 24 00:56:35 PDT 2006


Çarşamba 23 Ağustos 2006 22:32 tarihinde şunları yazmıştınız:
> The kernel can wake up a process sleeping in poll() of a sysfs file. If
> there is a kernel frequency transition, it would just need to send an
> fsnotify() for the file, so processes can wait for a change without
> periodically polling.
>
> We already do the same for /proc/mounts with HAL, where poll() trows an
> error to let the application waiting in poll() to reread the whole file.
>
> Sounds like this could also work for the cpufreq representation in
> sysfs?

Got it :), thanks

-- 
S.Çağlar Onur <caglar at pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060824/6560de86/attachment.pgp


More information about the hal mailing list