lkml.org 
[lkml]   [2004]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] inotify 0.5
From
Date
On Mon, 2004-07-19 at 09:33, Chris Friesen wrote:
> Ian Kent wrote:
>
> > So the number of watches is restricted to the max number of file
> > handles/process?
>
> Note: I have not read the code. We should probably do so before speculating.
>
> However, it looks like you have one fd, and reading from it gives you a data
> structure of information about the event. The max number of watches could be as
> high as INT_MAX depending on implementation.

Yes you are right. The maximum number of watchers is per-device. I have
it defined as 256 now. Also the maximum number of devices that can be
opened at a time is 8.

John
-
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:04    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site