All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Hansen <haveblue@us.ibm.com>
To: Matthew E Tolentino <matthew.e.tolentino@intel.com>
Cc: Sourav Sen <souravs@india.hp.com>,
	"HELGAAS,BJORN (HP-Ft. Collins)" <bjorn_helgaas@am.exch.hp.com>,
	Matt Domsch <Matt_Domsch@dell.com>,
	linux-ia64@vger.kernel.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	"Luck, Tony" <tony.luck@intel.com>,
	lhms <lhms-devel@lists.sourceforge.net>
Subject: RE: [2.6.6 PATCH] Exposing EFI memory map
Date: Thu, 06 May 2004 18:57:30 +0000	[thread overview]
Message-ID: <1083869850.2811.549.camel@nighthawk> (raw)
In-Reply-To: <D36CE1FCEFD3524B81CA12C6FE5BCAB002FFEB1B@fmsmsx406.fm.intel.com>

cc'ing lhms list as well, as this has diverged a bit...

On Thu, 2004-05-06 at 11:47, Tolentino, Matthew E wrote:
> > On Thu, 2004-05-06 at 09:25, Sourav Sen wrote:
> > > From: Bjorn Helgaas [mailto:bjorn.helgaas@hp.com]
> > > 	Why not also update the efi memory table on a hotplug :-)
> > 
> > That's actually what ppc64 does.  But, they do it via /proc (not even
> > from inside the kernel).  I'm not very fond of that solution :)
> 
> Interesting. What does ppc64 do with the memmap after that?  

This doesn't even concern mem_map yet.  The userspace ppc64 hotplug
tools actually write into the "OpenFirmware" tree from userspace, after
a hotplug happens.  This is partly because all of the ppc64 hotplug
operations happen in userspace as it stands now.  

> So, allocate the page structs which constitute the new memmap, set up
> the nonlinear sections, and then wait for hotplug events in order to 
> clear the appropriate bits in the pages for a given range?  Is that 
> what you're thinking?

Actually, I was thinking that we'd just allocate the kobjects, and note
the presence of the memory in the nonlinear phys_section table.  Then,
when we online it, we can decide where it's mapped, what zone to put it
in, and where to get the mem_map space from.  I think that approach
gives the best flexibility. 

-- Dave


WARNING: multiple messages have this Message-ID (diff)
From: Dave Hansen <haveblue@us.ibm.com>
To: Matthew E Tolentino <matthew.e.tolentino@intel.com>
Cc: Sourav Sen <souravs@india.hp.com>,
	"HELGAAS,BJORN (HP-Ft. Collins)" <bjorn_helgaas@am.exch.hp.com>,
	Matt Domsch <Matt_Domsch@dell.com>,
	linux-ia64@vger.kernel.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	"Luck, Tony" <tony.luck@intel.com>,
	lhms <lhms-devel@lists.sourceforge.net>
Subject: RE: [2.6.6 PATCH] Exposing EFI memory map
Date: Thu, 06 May 2004 11:57:30 -0700	[thread overview]
Message-ID: <1083869850.2811.549.camel@nighthawk> (raw)
In-Reply-To: <D36CE1FCEFD3524B81CA12C6FE5BCAB002FFEB1B@fmsmsx406.fm.intel.com>

cc'ing lhms list as well, as this has diverged a bit...

On Thu, 2004-05-06 at 11:47, Tolentino, Matthew E wrote:
> > On Thu, 2004-05-06 at 09:25, Sourav Sen wrote:
> > > From: Bjorn Helgaas [mailto:bjorn.helgaas@hp.com]
> > > 	Why not also update the efi memory table on a hotplug :-)
> > 
> > That's actually what ppc64 does.  But, they do it via /proc (not even
> > from inside the kernel).  I'm not very fond of that solution :)
> 
> Interesting. What does ppc64 do with the memmap after that?  

This doesn't even concern mem_map yet.  The userspace ppc64 hotplug
tools actually write into the "OpenFirmware" tree from userspace, after
a hotplug happens.  This is partly because all of the ppc64 hotplug
operations happen in userspace as it stands now.  

> So, allocate the page structs which constitute the new memmap, set up
> the nonlinear sections, and then wait for hotplug events in order to 
> clear the appropriate bits in the pages for a given range?  Is that 
> what you're thinking?

Actually, I was thinking that we'd just allocate the kobjects, and note
the presence of the memory in the nonlinear phys_section table.  Then,
when we online it, we can decide where it's mapped, what zone to put it
in, and where to get the mem_map space from.  I think that approach
gives the best flexibility. 

-- Dave


  reply	other threads:[~2004-05-06 18:57 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-06  8:52 [2.6.6 PATCH] Exposing EFI memory map Sourav Sen
2004-05-06  8:53 ` Sourav Sen
2004-05-06 10:44 ` Christoph Hellwig
2004-05-06 10:44   ` Christoph Hellwig
2004-05-06 11:59   ` Matthew Wilcox
2004-05-06 11:59     ` Matthew Wilcox
2004-05-06 12:18     ` Arjan van de Ven
2004-05-06 12:18       ` Arjan van de Ven
2004-05-06 13:27       ` Matthew Wilcox
2004-05-06 13:27         ` Matthew Wilcox
2004-05-06 14:00         ` Dave Hansen
2004-05-06 14:00           ` Dave Hansen
2004-05-06 14:09           ` Arjan van de Ven
2004-05-06 14:09             ` Arjan van de Ven
2004-05-06 14:09     ` Christoph Hellwig
2004-05-06 14:09       ` Christoph Hellwig
2004-05-06 12:46 ` Matt Domsch
2004-05-06 12:46   ` Matt Domsch
2004-05-06 13:20   ` Sourav Sen
2004-05-06 13:32     ` Sourav Sen
2004-05-06 15:08     ` Bjorn Helgaas
2004-05-06 15:08       ` Bjorn Helgaas
2004-05-06 16:25       ` Sourav Sen
2004-05-06 16:37         ` Sourav Sen
2004-05-06 16:49         ` Dave Hansen
2004-05-06 16:49           ` Dave Hansen
2004-05-06 13:23 ` Luck, Tony
2004-05-06 13:23   ` Luck, Tony
2004-05-06 16:14 ` Tolentino, Matthew E
2004-05-06 16:14   ` Tolentino, Matthew E
2004-05-06 16:40 ` Greg KH
2004-05-06 16:40   ` Greg KH
2004-05-07  9:45   ` Sourav Sen
2004-05-07  9:57     ` Sourav Sen
2004-05-07 21:49     ` Greg KH
2004-05-07 21:49       ` Greg KH
2004-05-11 14:44       ` Sourav Sen
2004-05-11 14:56         ` Sourav Sen
2004-05-11 15:42         ` Dave Hansen
2004-05-11 15:42           ` Dave Hansen
2004-05-12 10:24           ` Sourav Sen
2004-05-12 10:36             ` Sourav Sen
2004-05-12 16:15             ` Dave Hansen
2004-05-12 16:15               ` Dave Hansen
2004-05-13 14:10               ` Sourav Sen
2004-05-13 14:22                 ` Sourav Sen
2004-05-13 15:32                 ` Dave Hansen
2004-05-13 15:32                   ` Dave Hansen
2004-05-06 18:47 ` Tolentino, Matthew E
2004-05-06 18:47   ` Tolentino, Matthew E
2004-05-06 18:57   ` Dave Hansen [this message]
2004-05-06 18:57     ` Dave Hansen
2004-05-06 20:54 ` Tolentino, Matthew E
2004-05-06 20:54   ` Tolentino, Matthew E
2004-05-06 21:44   ` [Lhms-devel] " Dave Hansen
2004-05-06 21:44     ` Dave Hansen
  -- strict thread matches above, loose matches on Subject: below --
2004-05-06  9:18 Sourav Sen
2004-05-06  9:30 ` Sourav Sen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1083869850.2811.549.camel@nighthawk \
    --to=haveblue@us.ibm.com \
    --cc=Matt_Domsch@dell.com \
    --cc=bjorn_helgaas@am.exch.hp.com \
    --cc=lhms-devel@lists.sourceforge.net \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthew.e.tolentino@intel.com \
    --cc=souravs@india.hp.com \
    --cc=tony.luck@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.