When hold local_irq_save?
From: Binary (binary.chen_at_gmail.com)
Date: 09/20/05
- Next message: Keith Young: "PCI DMA virtual/logical/bus addresses"
- Previous message: Kasper Dupont: "Re: Problem with build-model makefile writing in Linux Kernel 2.6 ?"
- Next in thread: Pete Zaitcev (OTID3): "Re: When hold local_irq_save?"
- Reply: Pete Zaitcev (OTID3): "Re: When hold local_irq_save?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 Sep 2005 05:11:57 -0700
Hi,
I am curious about one snip code:
local_irq_save(flags);
interruptible_sleep_on(&omap_pm_sync);
local_irq_restore(flags);
Is it safe to sleep when hold local_irq_save? I think local_irq_save
will disable the interrupt.
Any idea? It is runnig for ARM.
Thanks.
Binary Chen
- Next message: Keith Young: "PCI DMA virtual/logical/bus addresses"
- Previous message: Kasper Dupont: "Re: Problem with build-model makefile writing in Linux Kernel 2.6 ?"
- Next in thread: Pete Zaitcev (OTID3): "Re: When hold local_irq_save?"
- Reply: Pete Zaitcev (OTID3): "Re: When hold local_irq_save?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|