Bug 482918 - do_timer_interrupt() does not acquire or release xtime_lock
Summary: do_timer_interrupt() does not acquire or release xtime_lock
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.8
Hardware: i386
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Prarit Bhargava
QA Contact: Martin Jenner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-28 19:52 UTC by Prarit Bhargava
Modified: 2009-01-29 13:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-29 13:56:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Prarit Bhargava 2009-01-28 19:52:28 UTC
Description of problem:

do_timer_interrupt does not acquire or release the xtime_lock (which is a sequential lock) when servicing the timer interrupt.  The rest of the i386 timing code does use the lock and we've imported a lot of code into RHEL4 which uses the xtime_lock.

Version-Release number of selected component (if applicable):  2.6.9-80.el4

I can almost guarantee that some of the timing instability is due to this missing lock.

This issue, however, maybe moot.  RHEL4 is almost at the end of its life, and I'm not sure we should change this behavior now.  OTOH, as mentioned, using the lock in do_timer_interrupt() will certainly increase stability in gettimeofday calls, system time, etc.

P.


Note You need to log in before you can comment on or make changes to this bug.