Re: i386: apm(4): apm_thread(): sleep without lbolt

2020-12-23 Thread Scott Cheloha
On Tue, Dec 15, 2020 at 09:15:31AM -0300, Martin Pieuchot wrote: > On 11/12/20(Fri) 19:17, Scott Cheloha wrote: > > Here's another sleep that doesn't need lbolt. > > > > The idea here is to call apm_periodic_check() once a second. > > We can do that without lbolt. > > > > Is there some other

Re: i386: apm(4): apm_thread(): sleep without lbolt

2020-12-15 Thread Martin Pieuchot
On 11/12/20(Fri) 19:17, Scott Cheloha wrote: > Here's another sleep that doesn't need lbolt. > > The idea here is to call apm_periodic_check() once a second. > We can do that without lbolt. > > Is there some other address that would be more appropriate for this > thread to sleep on? It doesn't

i386: apm(4): apm_thread(): sleep without lbolt

2020-12-11 Thread Scott Cheloha
Here's another sleep that doesn't need lbolt. The idea here is to call apm_periodic_check() once a second. We can do that without lbolt. Is there some other address that would be more appropriate for this thread to sleep on? It doesn't look like any apm(4) code calls wakeup(9) on lbolt so I've