All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To: Arjan van de Ven <arjan@infradead.org>
Cc: linux-kernel@vger.kernel.org, Dave Hansen <haveblue@us.ibm.com>,
	hari@in.ibm.com
Subject: Re: [RFC][PATCH] nameing reserved pages [0/3]
Date: Wed, 20 Apr 2005 23:58:24 +0900	[thread overview]
Message-ID: <42666E10.80207@jp.fujitsu.com> (raw)
In-Reply-To: <1114007431.6238.79.camel@laptopd505.fenrus.org>

Arjan van de Ven wrote:

>On Wed, 2005-04-20 at 23:15 +0900, Kamezawa Hiroyuki wrote:
>  
>
>MCA's probably shouldn't set PG_reserved; I don't see why they should.
>They could just steal the page and "leak" it.
>  
>
Actually leaked pages cannot be hot-removed/replaced. So we have to 
trace which pages is removed by MCA.
I think Set PG_reserved and set page->private = Removed_by_MCA is a 
simple idea.

>>>/dev/memstate really looks like a bad idea to me as well... I rather
>>>have less than more /dev/*mem*
>>> 
>>>
>>>      
>>>
>>For showing page usage and its "location", I've thought of other 
>>interface, sysfs, procfs...
>>But I have no idea.
>>    
>>
>
>Why do you want this exported to userspace? There is absolutely no way
>you can get this exported race free without shutting the VM down, and
>without being race free this information has absolutely no meaning !!
>  
>
No meaning ? 
Before memory-hotremove, we can guessing whether memory is hot-removable 
or not.
As you say , this is not atomic and not fully responsible.

After failing memory-hotremove, detecting why hot-remove was failed is 
very important.
I think ,when memory hot-remove faild, memory area is isolated until it 
is pushed back by an operator.
We can get a real snapshot of specified memory area.

Regards,
-- Kame


  reply	other threads:[~2005-04-20 14:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-20 12:02 [RFC][PATCH] nameing reserved pages [0/3] KAMEZAWA Hiroyuki
2005-04-20 12:34 ` Arjan van de Ven
2005-04-20 14:15   ` Kamezawa Hiroyuki
2005-04-20 14:30     ` Arjan van de Ven
2005-04-20 14:58       ` Kamezawa Hiroyuki [this message]
2005-04-20 17:18       ` Dave Hansen
2005-04-20 17:00   ` Dave Hansen

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=42666E10.80207@jp.fujitsu.com \
    --to=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=arjan@infradead.org \
    --cc=hari@in.ibm.com \
    --cc=haveblue@us.ibm.com \
    --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 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.