mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jes Sorensen <jes@wildopensource.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [patch] mspec driver for 2.6.12-rc2-mm3
Date: 25 Apr 2005 06:13:01 -0400	[thread overview]
Message-ID: <yq03btftb9u.fsf@jaguar.mkp.net> (raw)
In-Reply-To: <20050424101615.GA22393@infradead.org>

>>>>> "Christoph" == Christoph Hellwig <hch@infradead.org> writes:

>>  The code use the size to calculate, it could be changed either
>> way, don't think it's worth making the change.

Christoph> The current code is obsufcated, see the pages-1 stuff and
Christoph> co.  Please change it.

Both ways work, this is down to nitpicking for the sake of
nitpicking. Whatever, I'll change it.

Christoph> Please don't use the ->nopage approach thenm but do
Christoph> remap_pfn_range beforehand.  ->nopage is very nice if the
Christoph> region is actually backed by normal RAM, but what you're
Christoph> doing doesn't make much sense.
>>  Thats what I used to think, however you want the node-local setup
>> for performance reasons. Otherwise I would have switched to
>> remap_pfn_range.

Christoph> Then fixup remap_pfn_range (or rather add a new _node
Christoph> variant).  The current code relies on deep magic to work
Christoph> and could be broken by a new kernel release easily.

Your approach doesn't work. This relies on first-touch to get
performance, remap_pfn_range_node wouldn't work.

Christoph> I'm pretty sure this was NACKed on the ia64 list, and SGI
Christoph> was told to do a more generic efi memmap walk.
>>  No the issue back then was that the driver just took the memory
>> and kept it to itself. The new approach exports it for other users.

Christoph> That comment doesn't make sense at all to me.  exports what
Christoph> to what other users.  And through what way.  Please bring
Christoph> this issue up on the ia64 list again.  (also please post
Christoph> this patch to linux-ia64, too)

mspec_alloc_page can be called from anywhere by anyone who wants to
allocate an uncached page. The old fetchop driver just took the
uncached memory and kept to itself. Thats what I am talking about!
Earlier versions of the patch has already been by the ia64 list, we're
down to details here.

Christoph> Jes, is it just me or are you trying to chicken out on all
Christoph> the real problems? :-)

It's you! I seems you're forgetting to do the real research before
trying to shoot something down ;-)

Cheers,
Jes

  reply	other threads:[~2005-04-25 10:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-12  9:56 Jes Sorensen
2005-04-12 10:21 ` Andrew Morton
2005-04-12 10:22 ` Andrew Morton
2005-04-12 10:27 ` Andrew Morton
2005-04-12 14:50   ` Jes Sorensen
2005-04-13 20:43     ` Christoph Hellwig
2005-04-22 11:21       ` Jes Sorensen
2005-04-24 10:16         ` Christoph Hellwig
2005-04-25 10:13           ` Jes Sorensen [this message]
2005-04-25 14:32             ` Christoph Hellwig
2005-04-25 14:41             ` efi_memmap_walk_uc, was " Christoph Hellwig
2005-04-25 14:47             ` returning non-ram via ->nopage, " Christoph Hellwig
2005-04-26 22:14               ` Jes Sorensen
2005-04-27 15:53                 ` Jeff Garzik
2005-04-27 15:55                   ` Christoph Hellwig
2005-04-27 18:03                     ` Jes Sorensen
2005-04-27 18:55                       ` Russell King
2005-05-03 20:40                 ` William Lee Irwin III

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=yq03btftb9u.fsf@jaguar.mkp.net \
    --to=jes@wildopensource.com \
    --cc=akpm@osdl.org \
    --cc=hch@infradead.org \
    --cc=linux-kernel@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

Powered by JetHome