RE: [patch] fix bootmem regression on Altix

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

 



> Could we get this into mainline? My Altix box won't boot without this
> patch either and applying it on top of all trees after the
> above-mentioned commit is annoying when bisecting. :(

It (well an equivalent patch) is in mainline.  When you are bisecting,
chances are that you'll step into the time period after this was
broken, but before this patch was applied ... so you'll have to look
at sched.c and apply this patch manually when bisect picks a commit
in this zone. But I don't see anyway around that (history is immutable).

-Tony

See this commit:

commit 5a9d3225a0d7060bdf3a18018992dc8cef958425
Author: David Miller <davem@xxxxxxxxxxxxx>
Date:   Thu Apr 24 20:46:20 2008 -0700

    sched: use alloc_bootmem() instead of alloc_bootmem_low()
    
    There is no guarantee that there is physical ram below 4GB, and in
    fact many boxes don't have exactly that.
    
    Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
    Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

diff --git a/kernel/sched.c b/kernel/sched.c
index 0014b03..09ca69b 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -8128,7 +8128,7 @@ void __init sched_init(void)
 	 * we use alloc_bootmem().
 	 */
 	if (alloc_size) {
-		ptr = (unsigned long)alloc_bootmem_low(alloc_size);
+		ptr = (unsigned long)alloc_bootmem(alloc_size);
 
 #ifdef CONFIG_FAIR_GROUP_SCHED
 		init_task_group.se = (struct sched_entity **)ptr;
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux