Re: sparc64 bootup regression...

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <y-goto@...>
Cc: <akpm@...>, <linux-kernel@...>, <kamezawa.hiroyu@...>
Date: Tuesday, June 3, 2008 - 6:14 pm

From: Yasunori Goto <y-goto@jp.fujitsu.com>
Date: Wed, 30 Apr 2008 21:53:18 +0900


I think I know at least one of the problems in this change.

This code assumes that it can take __pa() on NODE_DATA().

But, if NUMA is disabled, NODE_DATA() is &contig_page_data which is a
kernel image symbol.  __pa() is not supported for such addresses.

It happens to work on x86, but it will not work on just about every
other platform.

There are several things to consider to fix this changeset and
get it back into a state where it can be resubmitted into the
tree:

1) What is the goal here wrt. allocating the usemap when NUMA
   is disabled.

2) What is appropriate if section_nr targetted allocation of
   the usemap fails.

It seems to me that the pgdat and usemap should be allocated
together if putting them into the same section is important.
This allows us to avoid case #2 completely, and therefore we
don't even need to consider how to handle such a failure.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
sparc64 bootup regression..., David Miller, (Wed Apr 30, 2:12 am)
powerpc boot regression, Tony Breeds, (Thu May 1, 1:13 am)
Re: powerpc boot regression, Badari Pulavarty, (Thu May 1, 10:51 am)
Re: powerpc boot regression, Yasunori Goto, (Sat May 3, 8:05 am)
Re: powerpc boot regression, Tony Breeds, (Thu May 1, 7:07 pm)
Re: powerpc boot regression, Geoff Levand, (Thu May 1, 3:01 pm)
Re: sparc64 bootup regression..., Andrew Morton, (Wed Apr 30, 2:38 am)
Re: sparc64 bootup regression..., Rafael J. Wysocki, (Wed May 7, 6:09 pm)
Re: sparc64 bootup regression..., David Miller, (Wed May 7, 6:46 pm)
Re: sparc64 bootup regression..., Andrew Morton, (Wed May 7, 6:25 pm)
Re: sparc64 bootup regression..., Rafael J. Wysocki, (Wed May 7, 6:32 pm)
Re: sparc64 bootup regression..., David Miller, (Wed Apr 30, 3:19 am)
Re: sparc64 bootup regression..., KAMEZAWA Hiroyuki, (Wed Apr 30, 3:15 am)
Re: sparc64 bootup regression..., Heiko Carstens, (Wed Apr 30, 3:30 am)
Re: sparc64 bootup regression..., KAMEZAWA Hiroyuki, (Wed Apr 30, 3:44 am)
Re: sparc64 bootup regression..., Heiko Carstens, (Wed Apr 30, 3:45 am)
Re: sparc64 bootup regression..., David Miller, (Wed Apr 30, 3:25 am)
Re: sparc64 bootup regression..., KAMEZAWA Hiroyuki, (Wed Apr 30, 3:33 am)
Re: sparc64 bootup regression..., Yasunori Goto, (Wed Apr 30, 8:53 am)
Re: sparc64 bootup regression..., David Miller, (Tue Jun 3, 6:14 pm)
Re: sparc64 bootup regression..., Yasunori Goto, (Wed Jun 4, 1:05 am)
Re: sparc64 bootup regression..., KAMEZAWA Hiroyuki, (Wed Apr 30, 2:46 am)