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]

 



On Sat, 25 Jun 2005, Pavel Machek wrote:

> > I only know that this boots correctly since I have no system that can do 
> > suspend. But Ray needs an effective means of process suspension for 
> > his process migration patches.
> 
> Any i386 or x86-64 machine can do suspend... It should be easy to get
> some notebook... [What kind of hardware are you working on normally?]

Umm... Sorry to be so negative but that has never worked for me on lots of 
laptops. Usually something with ACPI or some driver I guess... After 
awhile I gave up trying.

> > But is this the correct way to fix this?
> It includes whitespace changes and most of patch is nice cleanup that
> should probably go in separately. (Hint hint :-). 

Ok.

> Previous code had important property: try_to_freeze was optimized away
> in !CONFIG_PM case. Please keep that.

Obviously that will not work if we use try_to_freeze for 
non-power-management purposes. The code from kernel/power/process.c may 
have to be merged into some other kernel file. kernel/sched.c?


-
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