[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4805102A.8030707@hartkopp.net>
Date: Tue, 15 Apr 2008 22:29:30 +0200
From: Oliver Hartkopp <oliver@...tkopp.net>
To: David Miller <davem@...emloft.net>
CC: Thomas Gleixner <tglx@...utronix.de>,
Patrick McHardy <kaber@...sh.net>,
Urs Thuermann <urs@...ogud.escape.de>, netdev@...r.kernel.org
Subject: [PATCH net-2.6.26] CAN: use hrtimers in can-bcm protocol
From: Oliver Hartkopp <oliver@...tkopp.net>
Make use of hrtimers to support high resolution capabilities, when
provided by the system clocksource.
The conversion to hrtimers additionally discovered and solved an
unlikely race condition that has been reproduced under (unrealistic)
massive receive load, which can only be produced on vcan software devices.
Signed-off-by: Oliver Hartkopp <oliver@...tkopp.net>
---
net/can/bcm.c | 249
+++++++++++++++++++++++++++++++++---------------------------------
1 file changed, 128 insertions(+), 121 deletions(-)
View attachment "bcm-hrtimer.patch" of type "text/x-diff" (14543 bytes)
Powered by blists - more mailing lists