Re: UNIX kernel notification system

2011-10-05 Thread David Holland
On Mon, Oct 03, 2011 at 12:40:46AM -0700, Erik Fair wrote: We ought to try and come up with a notification abstraction model that works reasonably well for each use case, and preferably one which permits automated userland software response to various common events. Trying to enumerate

prop_dictionary_iterator

2011-10-05 Thread Paul Goyette
In sys/dev/sysmon/sysmon_power.c we have ... while ((obj = prop_object_iterator_next(iter)) != NULL) { prop_dictionary_remove(ped-dict, prop_dictionary_keysym_cstring_nocopy(obj)); prop_object_iterator_reset(iter); }

Re: RFC: SEEK_DATA/SEEK_HOLE implementation version 2

2011-10-05 Thread Reinoud Zandijk
On Mon, Oct 03, 2011 at 06:18:42PM +, David Holland wrote: the normal FFS code works but their indirect blocks, when addressed with their disc addresses, are not up-to-date. ...so read them out of the cache. easier to say than to do. Calculating and referring to the negative block

Re: UNIX kernel notification system

2011-10-05 Thread Arnaud Lacombe
Hi, On Mon, Oct 3, 2011 at 2:31 PM, Erik Fair f...@netbsd.org wrote: On Oct 3, 2011, at 00:56 , Mouse wrote: [Do you really mean to use paragraph-length lines?  I'd suggest against it; they impair readability significantly, at least for me.  Manually rewrapped in the quotes below.]