Re: [RFC] Fix SMP brokenness for PF_FREEZE and make freezing usable for other purposes

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

 



Hi!

> >Should be very easy to solve with one semaphore. Simply make swsusp
> >wait until all migrations are done.  
> 
> This may not be needed.  If I understand things correctly, the system
> won't suspsend until all tasks have returned from system calls and end
> up in the refrigerator.  So if a memory migration is  running when
> someone tries to suspend the system, the suspend won't
> occur until the memory migration system call returns.
> 
> Is that correct?

No, because now migration tries to using same freezer
mechanism. Oops. Semaphore solves it nicely....

								Pavel
-- 
Boycott Kodak -- for their patent abuse against Java.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux