From owner-cvs-src@FreeBSD.ORG Thu Mar 27 20:04:21 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D62D106566B; Thu, 27 Mar 2008 20:04:21 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 075D78FC15; Thu, 27 Mar 2008 20:04:21 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2RK4KZJ050535; Thu, 27 Mar 2008 20:04:20 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2RK4Kex050534; Thu, 27 Mar 2008 20:04:20 GMT (envelope-from mav) Message-Id: <200803272004.m2RK4Kex050534@repoman.freebsd.org> From: Alexander Motin Date: Thu, 27 Mar 2008 20:04:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netgraph ng_car.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 20:04:21 -0000 mav 2008-03-27 20:04:20 UTC FreeBSD src repository Modified files: sys/netgraph ng_car.c Log: Switch from timeval to bintime, to use 1/(2^20) of seconds instead of microseconds. It allows to use bit shifts instead of some heavy 64bit mul/div math operations. Revision Changes Path 1.6 +23 -22 src/sys/netgraph/ng_car.c