Messages in this thread | | | Date | Thu, 28 Oct 2004 11:00:10 +0200 | From | Pavel Machek <> | Subject | Re: Fixing MTRR smp breakage and suspending sysdevs. |
| |
Hi!
> >What about this one, instead? > > > >* ACPI Link device should allocate with GFP_ATOMIC > > > >* during suspend, locks can't be taken. (We stop userland, etc). So it > >should be okay to down_trylock() and panic if that does not work. > > > Actually, I am trying another approach for Link Device. > > - Temporarily enable interrupts during Link Device resume. Turn off all > the external interrupts at suspend time. They will remain suspended > until interrupt device resumes.
Hmm, perhaps you should turn off external interrupts during resume time...
But none of this is going to help. You want interrupts so that you can allocate with GFP_KERNEL, right? But disk is stopped at this point, if vm system attempts to swap, you are deadlocked, anyway.
Pavel -- 64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |