Re: [kerneloops] regression in 2.6.27 wrt "lock_page" and the "hwclock" program

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Karel Zak
Date: Tuesday, October 14, 2008 - 2:04 pm

On Mon, Oct 13, 2008 at 10:55:59AM -0400, Arjan van de Ven wrote:

 It wants to "atomically" (without context switch) read/write time
 from CMOS. This is unrealistic of course.


 The kernel is already extended and hwclock uses the extension :-)
 The solution is /dev/rtc.

 The code that directly works with CMOS is fallback solution for
 people who don't want or can not use the standard RTC device. I guess
 people use this functionally for experiments only. Today the RTC
 framework should work everywhere.

 I'll simply remove the "cli" / "sti" code -- eventually I can try
 to optimize it by mlockall() and SCHED_FIFO (as suggested by Linus).

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [kerneloops] regression in 2.6.27 wrt "lock_page" and ..., Karel Zak, (Tue Oct 14, 2:04 pm)