Re: [RFC/PATCH 2/2] kernel: don't update load average during snapshot/shutdown

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

 



On Friday, 27 April 2007 15:29, Pekka J Enberg wrote:
> From: Nigel Cunningham <nigel@xxxxxxxxxxxxxxxxxx>
> 
> As explained by Nigel, Sendmail and some other programs look at the
> load average and stop delivering when it gets too high.  The CPU
> intensiveness of suspending to disk pushes the load average up quite
> high but post-resume we shouldn't really take that into account.  Not
> updating the load average therefore makes snapshot/shutdown invisible
> to sendmail and so on.
> 
> Cc: Pavel Machek <pavel@xxxxxx>
> Cc: Rafael J. Wysocki <rjw@xxxxxxx>
> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>

This clashes with the recent freezer changes in -mm quite violently.

We're moving the freezer to kernel/freezer.c and we're introducing a special
field in task_struct for the freezer flags.

Please have a look at the freezer changes queued up in -mm and the freezer
patches recently sent.

Greetings,
Rafael
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux