* Ingo Molnar <mingo@elte.hu> wrote:Peter "radar eye" Zijlstra noticed an ugly and annoying typo in mm.h: -#ifdef NODE_NOT_IN_PAGEFLAGS +#ifdef NODE_NOT_IN_PAGE_FLAGS but even with the full fix (see below) the same crash remains. i think getting NODE_NOT_IN_PAGEFLAGS wrong seems to result in non-optimal but still correct code - by virtue of NODES_MASK ending up zero. Ingo -----------------------> Subject: nodes: shift fix From: Ingo Molnar <mingo@elte.hu> Date: Tue Apr 15 21:15:21 CEST 2008 Signed-off-by: Ingo Molnar <mingo@elte.hu> --- include/linux/mm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux/include/linux/mm.h =================================================================== --- linux.orig/include/linux/mm.h +++ linux/include/linux/mm.h @@ -424,7 +424,7 @@ static inline void set_compound_order(st * We are going to use the flags for the page to node mapping if its in * there. This includes the case where there is no node, so it is implicit. */ -#if !(NODES_WIDTH > 0 || NODES_SHIFT == 0) +#if NODES_WIDTH <= 0 || NODES_SHIFT == 0 #define NODE_NOT_IN_PAGE_FLAGS #endif @@ -442,7 +442,7 @@ static inline void set_compound_order(st #define ZONES_PGSHIFT (ZONES_PGOFF * (ZONES_WIDTH != 0)) /* NODE:ZONE or SECTION:ZONE is used to ID a zone for the buddy allcator */ -#ifdef NODE_NOT_IN_PAGEFLAGS +#ifdef NODE_NOT_IN_PAGE_FLAGS #define ZONEID_SHIFT (SECTIONS_SHIFT + ZONES_SHIFT) #define ZONEID_PGOFF ((SECTIONS_PGOFF < ZONES_PGOFF)? \ SECTIONS_PGOFF : ZONES_PGOFF) --
| Pardo | Re: pthread_create() slow for many threads; also time to revisit 64b context switc... |
| Artem Bityutskiy | [RFC PATCH 06/26] UBIFS: add superblock and master node |
| Christian | 2.6.22-rc1 does not boot on VIA C3_2 cause of X86_CMPXCHG64 |
| Martin Schwidefsky | [GIT PULL] kernel message catalog patches |
git: | |
| David Kastrup | Empty directories... |
| Han-Wen Nienhuys | git branch performance problem? |
| Tim Ansell | Whats happening with git-notes? |
| Marco Costalba | [PATCH 11/11] Convert sha1_file.c to use decompress helpers |
| Mayuresh Kathe | Richard Stallman... |
| William Boshuck | Re: Longest Uptime? |
| Sean Hafeez | hostname.pppoe0 with AT&T/SBC debug? |
| new_guy | Re: Code signing in OpenBSD |
| Patrick Ohly | [RFC PATCH 00/13] hardware time stamping + igb example implementation |
| Johannes Berg | mac80211 truesize bugs |
| Denys | r8169 crash |
| Peter Zijlstra | Re: [tbench regression fixes]: digging out smelly deadmen. |
