Re: Async upd(4) - patch 7/7

2015-05-11 Thread Martin Pieuchot
On 2015-05-07 04:19, David Higgs wrote: On Apr 30, 2015, at 7:09 AM, Martin Pieuchot m...@openbsd.org wrote: [...] Your tweaks were good, so I tweaked it further: - When submit fails, invalidate affected sensors as described above. - When invalidating sensors, do it recursively. - When battery

Re: Async upd(4) - patch 7/7

2015-05-06 Thread David Higgs
On Apr 30, 2015, at 7:09 AM, Martin Pieuchot m...@openbsd.org wrote: On 24/04/15(Fri) 20:48, David Higgs wrote: This is the final patch in the series. Utilize the pending flags and report callback for their intended purpose - to process async behavior. Apply splusb() to ensure report

Re: Async upd(4) - patch 7/7

2015-04-30 Thread Martin Pieuchot
On 24/04/15(Fri) 20:48, David Higgs wrote: This is the final patch in the series. Utilize the pending flags and report callback for their intended purpose - to process async behavior. Apply splusb() to ensure report callbacks can't fire before their data structures have been properly

Re: Async upd(4) - patch 7/7

2015-04-30 Thread David Higgs
On Thu, Apr 30, 2015 at 7:09 AM, Martin Pieuchot m...@openbsd.org wrote: On 24/04/15(Fri) 20:48, David Higgs wrote: This is the final patch in the series. Utilize the pending flags and report callback for their intended purpose - to process async behavior. Apply splusb() to ensure

Async upd(4) - patch 7/7

2015-04-24 Thread David Higgs
This is the final patch in the series. Utilize the pending flags and report callback for their intended purpose - to process async behavior. Apply splusb() to ensure report callbacks can't fire before their data structures have been properly updated. This only needs to happen in

Re: Async upd(4)

2015-03-09 Thread David Higgs
On Mon, Mar 9, 2015 at 6:04 AM, Martin Pieuchot mpieuc...@nolizard.org wrote: On 05/03/15(Thu) 12:25, David Higgs wrote: On Mar 3, 2015, at 8:44 AM, David Higgs hig...@gmail.com wrote: With much help from mpi@, I have made a first big step towards improving upd(4). I'm not sure when

Re: Async upd(4)

2015-03-09 Thread Martin Pieuchot
On 05/03/15(Thu) 12:25, David Higgs wrote: On Mar 3, 2015, at 8:44 AM, David Higgs hig...@gmail.com wrote: With much help from mpi@, I have made a first big step towards improving upd(4). I’m not sure when tree lock ends, but I’m still happy to accept feedback if right now isn’t the

Re: Async upd(4)

2015-03-05 Thread David Higgs
On Mar 3, 2015, at 8:44 AM, David Higgs hig...@gmail.com wrote: With much help from mpi@, I have made a first big step towards improving upd(4). I’m not sure when tree lock ends, but I’m still happy to accept feedback if right now isn’t the time to commit. There’s plenty more to do, but

Async upd(4)

2015-03-03 Thread David Higgs
With much help from mpi@, I have made a first big step towards improving upd(4). I’m not sure when tree lock ends, but I’m still happy to accept feedback if right now isn’t the time to commit. There’s plenty more to do, but I’d like to get this ironed out before moving on. New behavior with