• Andrew Morton's avatar
    [PATCH] jiffies-to-clockt fix · 60967810
    Andrew Morton authored
    From: john stultz <johnstul@us.ibm.com>
    
    This patch polishes up Tim Schmielau's (tim@physik3.uni-rostock.de) fix for
    jiffies_to_clock_t() and jiffies_64_to_clock_t().  The issues observed was
    w/ /proc output not matching up to wall time due to accumulated error
    caused by HZ not being exactly 1000 on i386 systems.  The solution is to
    correct that error by using the more accurate TICK_NSEC in our calculation.
    
    Additionally, this patch corrects 3 warnings in the TCP layer uncovered by
    this change.
    60967810
tcp_ipv4.c 64.3 KB