1. 28 6月, 2006 4 次提交
    • K
      [PATCH] catch valid mem range at onlining memory · 2842f114
      KAMEZAWA Hiroyuki 提交于
      This patch allows hot-add memory which is not aligned to section.
      
      Now, hot-added memory has to be aligned to section size.  Considering big
      section sized archs, this is not useful.
      
      When hot-added memory is registerd as iomem resoruce by iomem resource
      patch, we can make use of that information to detect valid memory range.
      
      Note: With this, not-aligned memory can be registerd. To allow hot-add
            memory with holes, we have to do more work around add_memory().
            (It doesn't allows add memory to already existing mem section.)
      Signed-off-by: NKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      2842f114
    • K
      [PATCH] register hot-added memory to iomem resource · 0a547039
      KAMEZAWA Hiroyuki 提交于
      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: NKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: Vivek Goyal <vgoyal@in.ibm.com>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      0a547039
    • Y
      [PATCH] pgdat allocation for new node add (call pgdat allocation) · 9af3c2de
      Yasunori Goto 提交于
      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: NYasunori Goto     <y-goto@jp.fujitsu.com>
      Signed-off-by: NKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: Dave Hansen <haveblue@us.ibm.com>
      Cc: "Brown, Len" <len.brown@intel.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9af3c2de
    • Y
      [PATCH] pgdat allocation for new node add (specify node id) · bc02af93
      Yasunori Goto 提交于
      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: NYasunori Goto <y-goto@jp.fujitsu.com>
      Cc: Dave Hansen <haveblue@us.ibm.com>
      Cc: "Brown, Len" <len.brown@intel.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      bc02af93
  2. 23 6月, 2006 3 次提交
  3. 01 6月, 2006 1 次提交
  4. 02 5月, 2006 1 次提交
  5. 10 3月, 2006 1 次提交
  6. 07 1月, 2006 1 次提交
  7. 14 12月, 2005 1 次提交
  8. 30 10月, 2005 3 次提交