Re: [GIT PULL] parisc fixes for 2.6.39-rc5

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

 



On Wed, Apr 27, 2011 at 22:18, James Bottomley
<James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> wrote:
These two fixes contain the agreed fix for our slub panic (agreed with
the mm folks that we'll define SLUB broken in the !NUMA && DISCONTIGMEM
case, which should fix m86k as well) and another buglet that turned up
examining the parisc discontigmem code.

Do we still need to mark SLUB broken?
On m68k, the issue seems to have been fixed by setting the N_NORMAL_MEMORY flag
(pull request scheduled after one more linux-next build cycle).

Or do you plan to unmark it broken once every affected arch sets the
N_NORMAL_MEMORY flag?

The patches are here:

master.kernel.org:/pub/scm/linux/kernel/git/jejb/parisc-2.6.git#fixes

The short changelog is:

David Rientjes (1):
  Â[PARISC] set memory ranges in N_NORMAL_MEMORY when onlined

James Bottomley (1):
  Â[PARISC] slub: fix panic with DISCONTIGMEM

The diffstat is:

Âarch/parisc/mm/init.c | Â Â4 +++-
Âinit/Kconfig     Â|  Â1 +
Â2 files changed, 4 insertions(+), 1 deletions(-)

And the full diff are below.

James

---

diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c
index b7ed8d7..b1d1262 100644
--- a/arch/parisc/mm/init.c
+++ b/arch/parisc/mm/init.c
@@ -266,8 +266,10 @@ static void __init setup_bootmem(void)
   Â}
   Âmemset(pfnnid_map, 0xff, sizeof(pfnnid_map));

- Â Â Â for (i = 0; i < npmem_ranges; i++)
+ Â Â Â for (i = 0; i < npmem_ranges; i++) {
+ Â Â Â Â Â Â Â node_set_state(i, N_NORMAL_MEMORY);
       Ânode_set_online(i);
+ Â Â Â }
Â#endif

   Â/*
diff --git a/init/Kconfig b/init/Kconfig
index 56240e7..a7ad8fb 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1226,6 +1226,7 @@ config SLAB
    Âper cpu and per node queues.

Âconfig SLUB
+ Â Â Â depends on BROKEN || NUMA || !DISCONTIGMEM
   Âbool "SLUB (Unqueued Allocator)"
   Âhelp
     SLUB is a slab allocator that minimizes cache line usage

Gr{oetje,eeting}s,

            Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
             Â Â -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux