![]() | |||||||||||||
Messages in this thread |
On Mon, 19 Jul 2004, Pavel Machek wrote: > > <mochel@digitalimplant.org> (04/07/17 1.1865) > > [swsusp] Remove unneeded suspend_pagedir_lock. > > How do you guarantee that while copying pages back and forth, > interrupts are disabled? They have to be, because memory snapshots are > no longer atomic. (This was cleared up in person in Ottawa, but just for the record: ) Interrupts are disabled in swsusp_suspend() and swsusp_resume(), using local_irq_disable(), instead of doing spin_lock_irq(). Pat - 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/ | ||||||||||||
| Last update: 2005-03-22 14:04 [from the cache] ©2003-2008 | |||||||||||||