Re: Route cache performance under stress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It happens there too, it's just calls do_fast_time() or something
like that (which effectively calls do_gettimeofday() which is why
that got deleted).

From kernel/time.c on 2.4.7: ---------------------------------------------------------------------------- static void do_normal_gettime(struct timeval * tm) { *tm=xtime; }

void (*do_get_fast_time)(struct timeval *) = do_normal_gettime;

/*
 * Generic way to access 'xtime' (the current time of day).
 * This can be changed if the platform provides a more accurate (and fast!)
 * version.
 */

void get_fast_time(struct timeval * t)
{
    do_get_fast_time(t);
}
------------------------------------------------------------------------------

So it simply returns xtime. Hmm...where all does xtime get updated though?

Regards,
Varun Varma,
---------------------------------------------
Mindframe Software & Services Pvt. Ltd.,
A-50, Sector-39, NOIDA, U.P. - 201301, India

http://www.mindsw.com
---------------------------------------------


- : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux