public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: "Luck, Tony" <tony.luck@intel.com>
To: linux-ia64@vger.kernel.org
Subject: RE: [PATCH] (2.4.x bk) efi_memmap_walk_uc
Date: Tue, 29 Jul 2003 21:34:53 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105951492415532@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105883467032028@msgid-missing>

> > It creates a "node_fetchops" structure for _every_ uncached block of
> > address space?  Will there be problems if that address space/memory
> > is used for other purposes?
> 
> No --- because there are no other users...  the code was almost
> certainly written a long time ago to solve an SN specific purpose and
> has been carried around in the form I presented.
> 
> I fully admit that in a general sense this code isn't workable but I
> think perhaps the concept of some kind of UC allocator might be.  If
> such a thing existed I'm quite sure we would have the fetchop driver
> ported to use it.

I definitely like the idea of a UC allocator that lives below the
level of the fetchop driver that can hand it whatever pieces of
uncacheable memory that it needs.  When MCA eventually gets sophisticated
enough to need to allocate more min_state areas, there will be a second
user ... and I hope that we are too far away from being there.

Initially the UC allocator should be really, really basic.  Perhaps
just handing out pages, and without any "free" code to complicate it
(MCA code should only need to allocate an alternate min_state area for
each cpu to handle returning to a different context from the one that
was running when the fault was reported).

> > I think what we really want here is two bitmasks: one telling us
> > which bits we care about and one telling us what values those bits
> > should be set to.
> 
> Yes.  But does that really make the code more suitable for merging or
> is that merely a small step towards the larger picture?
> 
> > Can you work with Tony on this?  Since he's Mr. MCA (you OK with
> > this title, Tony? ;-) and since we'll have to map the MINSTATE area
> > UC, I think we want to make sure that the interface can handle all
> > of this.
> 
> Sure, I'm happy with that.  I had considered as for UC we could try to
> encourage everyone to have the MINSTATE containing granule to be all
> UC and perhaps for generic kernels compromise on 16MB granules?
> That's a different issue entirely though.

-Tony

  parent reply	other threads:[~2003-07-29 21:34 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-22  0:43 [PATCH] (2.4.x bk) efi_memmap_walk_uc Christopher Wedgwood
2003-07-22  2:16 ` Bjorn Helgaas
2003-07-22  2:58 ` Christopher Wedgwood
2003-07-22  3:08 ` Bjorn Helgaas
2003-07-22  4:43 ` Christopher Wedgwood
2003-07-25  1:15 ` David Mosberger
2003-07-29 18:34 ` Christopher Wedgwood
2003-07-29 18:45 ` Luck, Tony
2003-07-29 19:03 ` Christopher Wedgwood
2003-07-29 20:41 ` David Mosberger
2003-07-29 21:15 ` Christopher Wedgwood
2003-07-29 21:31 ` David Mosberger
2003-07-29 21:34 ` Luck, Tony [this message]
2003-07-29 22:05 ` Jack Steiner
2003-07-29 22:07 ` Christopher Wedgwood
2003-07-29 22:26 ` Luck, Tony
2003-07-29 22:30 ` David Mosberger
2003-07-29 22:35 ` Christopher Wedgwood
2003-07-29 22:37 ` Christopher Wedgwood
2003-07-29 22:47 ` Luck, Tony
2003-07-29 22:48 ` David Mosberger
2003-07-29 22:54 ` David Mosberger
2003-07-29 23:49 ` Jack Steiner
2003-07-29 23:54 ` Christopher Wedgwood
2003-07-29 23:56 ` Jack Steiner
2003-07-30  0:00 ` Christopher Wedgwood
2003-07-30  0:02 ` Christopher Wedgwood
2003-07-30  0:05 ` David Mosberger
2003-07-30  0:12 ` David Mosberger
2003-07-30  0:22 ` Jack Steiner
2003-07-30  9:21 ` Christoph Hellwig

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=marc-linux-ia64-105951492415532@msgid-missing \
    --to=tony.luck@intel.com \
    --cc=linux-ia64@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox