CPU Frequency Scaling
Arjan van de Ven
arjan at fenrus.demon.nl
Tue Dec 5 20:21:44 UTC 2006
On Tue, 2006-12-05 at 14:17 -0500, Dave Jones wrote:
> On Tue, Dec 05, 2006 at 02:08:22PM -0500, Matthias Clasen wrote:
>
> > > > gnome-menus uses gamin for notification, which uses inotify. The problem
> > > > is that inotify sucks when it comes to nonexisting files
> > >
> > > Can't you add a watch on the directory, and get notification when
> > > a file gets added that way?
> > >
> >
> > Sure. But if that directory is a busy one like, say, $HOME, then you get
> > a lot of unnecessary wakeups.
>
> That's still got to be more efficient than polling.
surely you can rate limit this and just on busy dirs at most scan every
4 seconds... (which is the current poll interval)
More information about the fedora-devel-list
mailing list