git: DragonFly_RELEASE_5_8 kernel - Refactor kern_kevent(), fix timeout overflow (ppoll() bug) (3)

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jun 10 14:03:19 PDT 2020


commit 8bd5238435bb990e4c9690d763a3ff7477bda6dc
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jun 7 11:30:49 2020 -0700

    kernel - Refactor kern_kevent(), fix timeout overflow (ppoll() bug) (3)
    
    * Fix a second timer overflow.  The systimer clock variable is
      actualy only 32 bits, a 10 minute timeout will overflow it.
      Change the kqueue timeout to 1 minute to work-around.
    
      (We really need to redo sysclock_t from 32 to 64 bits)
    
    * This should finally fix both swildner's panic and rsmarples
      continued early timeout issue.
    
    Reported-by: swildner, rsmarples

Summary of changes:
 sys/kern/kern_event.c | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8bd5238435bb990e4c9690d763a3ff7477bda6dc


-- 
DragonFly BSD source repository


More information about the Commits mailing list