Home | History | Annotate | Download | only in kern
History log of /src/sys/kern/kern_rate.c
RevisionDateAuthorComments
 1.2  12-Dec-2012  pooka Signed overflow is undefined behavior, and one version of gcc
clearly tells us:

kern_rate.c:98: warning: assuming signed overflow does not
occur when assuming that (X + c) > X is always true

Check value against INT_MAX instead. Also, for good measure throw
in a __predict() to flag the assumed common case.
 1.1  25-Sep-2008  pooka branches: 1.1.2; 1.1.4; 1.1.6; 1.1.18; 1.1.36; 1.1.46;
Split rate-checking routines into their own module for easier reuse.
 1.1.46.1  25-Feb-2013  tls resync with head
 1.1.36.1  16-Jan-2013  yamt sync with (a bit old) head
 1.1.18.2  04-May-2009  yamt sync with head.
 1.1.18.1  25-Sep-2008  yamt file kern_rate.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:47 +0000
 1.1.6.2  19-Oct-2008  haad Sync with HEAD.
 1.1.6.1  25-Sep-2008  haad file kern_rate.c was added on branch haad-dm on 2008-10-19 22:17:27 +0000
 1.1.4.2  10-Oct-2008  skrll Sync with HEAD.
 1.1.4.1  25-Sep-2008  skrll file kern_rate.c was added on branch wrstuden-revivesa on 2008-10-10 22:34:14 +0000
 1.1.2.2  28-Sep-2008  mjf Sync with HEAD.
 1.1.2.1  25-Sep-2008  mjf file kern_rate.c was added on branch mjf-devfs2 on 2008-09-28 10:40:52 +0000

RSS XML Feed