]> err.no Git - util-linux/commit
hwclock: remove "cli" and "sti" from i386 CMOS code
authorKarel Zak <kzak@redhat.com>
Thu, 16 Oct 2008 21:37:38 +0000 (23:37 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 12 Dec 2008 11:38:01 +0000 (12:38 +0100)
commit1a55ee51ccdd09897985200a3ea56c35be29eb21
tree594f41f278d7b6a079f54393114d17e8d0212a2e
parentcdcecf63b65e606adf2d692c6f71ca247237361e
hwclock: remove "cli" and "sti" from i386 CMOS code

The protection against context switch is nonsense. There is possible
to optimize the access to CMOS by mlockall(MCL_CURRENT) and SCHED_FIFO.

For more details see: http://lkml.org/lkml/2008/10/12/132

Reported-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
hwclock/cmos.c