From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Schmitz Subject: Re: Fix for SLUB? (was: Fwd: [PATCH v3] mm: make expand_downwards symmetrical to expand_upwards) Date: Sun, 24 Apr 2011 14:19:28 +1200 Message-ID: <4DB388B0.9030201@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pv0-f174.google.com ([74.125.83.174]:43920 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757373Ab1DXCT1 (ORCPT ); Sat, 23 Apr 2011 22:19:27 -0400 Received: by pvg12 with SMTP id 12so777033pvg.19 for ; Sat, 23 Apr 2011 19:19:27 -0700 (PDT) In-Reply-To: Sender: linux-m68k-owner@vger.kernel.org List-Id: linux-m68k@vger.kernel.org To: Andreas Schwab Cc: Michael Schmitz , Geert Uytterhoeven , Thorsten Glaser , Linux/m68k Andreas Schwab wrote: > Michael Schmitz writes: > > >> Hi, >> >> node_present_pages(node) returns false: >> >> m68k_setup_node: node 0 addr 0 size 14680064 >> m68k_setup_node: node 0 not present! >> m68k_setup_node: node 1 addr 16777216 size 268435456 >> m68k_setup_node: node 1 not present! >> > > That's because paging_init calls m68k_setup_node before > free_area_init_node, which is where node_present_pages is set. > > Thanks - I had tried to move the code to just before the free_area_init_node loop and given up there. Much appreciated, Michael