- smpboot-cachesize-comparison-fix-in-smp_tune_scheduling.patch removed from -mm tree

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

 



The patch titled
     smpboot: cachesize comparison fix in smp_tune_scheduling()
has been removed from the -mm tree.  Its filename was
     smpboot-cachesize-comparison-fix-in-smp_tune_scheduling.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: smpboot: cachesize comparison fix in smp_tune_scheduling()
From: Jarek Poplawski <jarkao2@xxxxx>

boot_cpu_data.x86_cache_size is signed int and can be < 0 too.

Signed-off-by: Jarek Poplawski <jarkao2@xxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Nick Piggin <nickpiggin@xxxxxxxxxxxx>
Cc: Andi Kleen <ak@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/i386/kernel/smpboot.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/i386/kernel/smpboot.c~smpboot-cachesize-comparison-fix-in-smp_tune_scheduling arch/i386/kernel/smpboot.c
--- a/arch/i386/kernel/smpboot.c~smpboot-cachesize-comparison-fix-in-smp_tune_scheduling
+++ a/arch/i386/kernel/smpboot.c
@@ -948,7 +948,7 @@ static void smp_tune_scheduling(void)
 	if (cpu_khz) {
 		cachesize = boot_cpu_data.x86_cache_size;
 
-		if (cachesize > 0)
+		if ((long)cachesize > 0)
 			max_cache_size = cachesize * 1024;
 	}
 }
_

Patches currently in -mm which might be from jarkao2@xxxxx are

origin.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux