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

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jun 7 11:32:24 PDT 2020


commit d3b97be98d163599340629a06706bd9684ede8a0
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/d3b97be98d163599340629a06706bd9684ede8a0


-- 
DragonFly BSD source repository



More information about the Commits mailing list