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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Aug 28 23:54:51 PDT 2017


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


-- 
DragonFly BSD source repository



More information about the Commits mailing list