]> 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>
Thu, 16 Oct 2008 21:37:38 +0000 (23:37 +0200)
commit433c8bea8a4047aec35d894a3283853d1a48f897
treeef8546e25bc84daa74c4470614dafe1895c7c152
parentbf7b8d773bb36c3aae4001a5dd6cd80bff0c04ec
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