1. 27 Jun, 2006 3 commits
    • KAMEZAWA Hiroyuki's avatar
      [PATCH] register hot-added memory to iomem resource · 0a547039
      KAMEZAWA Hiroyuki authored
      
      Register hot-added memory to iomem_resource.  With this, /proc/iomem can
      show hot-added memory.
      
      Note: kdump uses /proc/iomem to catch memory range when it is installed.
            So, kdump should be re-installed after /proc/iomem change.
      Signed-off-by: default avatarKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: Vivek Goyal <vgoyal@in.ibm.com>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      0a547039
    • Yasunori Goto's avatar
      [PATCH] pgdat allocation for new node add (call pgdat allocation) · 9af3c2de
      Yasunori Goto authored
      
      Add node-hot-add support to add_memory().
      
      node hotadd uses this sequence.
      1. allocate pgdat.
      2. refresh NODE_DATA()
      3. call free_area_init_node() to initialize
      4. create sysfs entry
      5. add memory (old add_memory())
      6. set node online
      7. run kswapd for new node.
      (8). update zonelist after pages are onlined. (This is already merged in -mm
         due to update phase is difference.)
      
      Note:
        To make common function as much as possible,
        there is 2 changes from v2.
          - The old add_memory(), which is defiend by each archs,
            is renamed to arch_add_memory(). New add_memory becomes
            caller of arch dependent function as a common code.
      
          - This patch changes add_memory()'s interface
              From: add_memory(start, end)
              TO  : add_memory(nid, start, end).
            It was cause of similar code that finding node id from
            physical address is inside of old add_memory() on each arch.
      
            In addition, acpi memory hotplug driver can find node id easier.
            In v2, it must walk DSDT'S _CRS by matching physical address to
            get the handle of its memory device, then get _PXM and node id.
            Because input is just physical address.
            However, in v3, the acpi driver can use handle to get _PXM and node id
            for the new memory device. It can pass just node id to add_memory().
      
      Fix interface of arch_add_memory() is in next patche.
      Signed-off-by: default avatarYasunori Goto     <y-goto@jp.fujitsu.com>
      Signed-off-by: default avatarKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: Dave Hansen <haveblue@us.ibm.com>
      Cc: "Brown, Len" <len.brown@intel.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      9af3c2de
    • Yasunori Goto's avatar
      [PATCH] pgdat allocation for new node add (specify node id) · bc02af93
      Yasunori Goto authored
      
      Change the name of old add_memory() to arch_add_memory.  And use node id to
      get pgdat for the node at NODE_DATA().
      
      Note: Powerpc's old add_memory() is defined as __devinit. However,
            add_memory() is usually called only after bootup.
            I suppose it may be redundant. But, I'm not well known about powerpc.
            So, I keep it. (But, __meminit is better at least.)
      Signed-off-by: default avatarYasunori Goto <y-goto@jp.fujitsu.com>
      Cc: Dave Hansen <haveblue@us.ibm.com>
      Cc: "Brown, Len" <len.brown@intel.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      bc02af93
  2. 23 Jun, 2006 3 commits
  3. 31 May, 2006 1 commit
  4. 01 May, 2006 1 commit
  5. 09 Mar, 2006 1 commit
  6. 06 Jan, 2006 1 commit
  7. 14 Dec, 2005 1 commit
  8. 30 Oct, 2005 3 commits