git: DragonFly_RELEASE_4_8 poll/select: Use 64bit serial for poll/select's kevent.udata.

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Tue Sep 12 06:01:34 PDT 2017


commit 27f703a5486d3118b29e766baa33c6b5b0441cd2
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Aug 29 14:34:09 2017 +0800

    poll/select: Use 64bit serial for poll/select's kevent.udata.
    
    This fixes the issue mentioned in this commit:
    ce4975442fa0524017fb3c1aef93bbe6880ae770
    
    It takes ~200 years for 2.5Ghz cpu to make the 64bit serial wrap,
    even if the cpu's speed were 10 times faster tomorrow, it still
    would take two decades to make the 64bit serial wrap.
    
    Suggested-by: dillon@

Summary of changes:
 sys/kern/sys_generic.c | 55 +++++++++++++++++++++++++++++---------------------
 sys/sys/proc.h         |  2 +-
 2 files changed, 33 insertions(+), 24 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/27f703a5486d3118b29e766baa33c6b5b0441cd2


-- 
DragonFly BSD source repository



More information about the Commits mailing list