Re: hardware used to generate Timer Tics?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 11 Mar 2002, David Yang wrote:

> Hi, I'm trying to temporarily disable the timer tick mechanism for some
> critical code segments.  I've tried shutting off several different
> timers but for some reason the timer tick is still being generated, does
> anyone know what piece of hardware in AMD's k7 architecture is
> generating the timer tick?

Why not use spin_lock_irqsave() / spin_unlock_irqrestore() for the
critical code segment, you won't get any interrupt.

If you still want to disable the timer interrupt only, disable_irq(0)
might work.

-- 
Catalin


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux