Re: BUG: using smp_processor_id() in preemptible code: s2disk

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

 



On (06/14/10 07:38), Arjan van de Ven wrote:
> > Hello,
> > Not sure if this simple solution is the correct one.
> 
> it's not; the caller needs to pass in the cpu number I suspect for this
> to be really correct....
> 
> I just returned from family emergency travel and will take a look today
> 

I thought about patching

./drivers/cpuidle/governors/menu.c:	if (nr_iowait_cpu())
./drivers/cpuidle/governors/menu.c:	mult += 10 * nr_iowait_cpu();
./kernel/time/tick-sched.c:		if (nr_iowait_cpu() > 0)


decided to patch nr_iowait_cpu instead.


	Sergey

Attachment: pgpwgTne7AM6J.pgp
Description: PGP signature

_______________________________________________
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