linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Hugh Dickins <hugh.dickins@tiscali.co.uk>
To: Avi Kivity <avi@redhat.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>,
	Minchan Kim <minchan.kim@gmail.com>,
	Huang Shijie <shijie8@gmail.com>,
	"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: [PATCH] kvm : remove redundant initialization of page->private
Date: Thu, 11 Mar 2010 18:43:12 +0000 (GMT)	[thread overview]
Message-ID: <alpine.LSU.2.00.1003111835330.5991@sister.anvils> (raw)
In-Reply-To: <4B98B018.4020103@redhat.com>

On Thu, 11 Mar 2010, Avi Kivity wrote:
> On 03/11/2010 10:51 AM, Jan Kiszka wrote:
> > >      
> > Thanks for pointing out! Since which kernel can we rely on the implicit
> > set_page_private?
> 
> Um, git blame shows it goes all the way back to 2.6.12.  So it was redundant
> all along.

Not that it matters at all, but no, that was just the dawning of the git age.
prep_new_page() started initializing page->private in 2.6.0-test3:

<akpm@osdl.org>
	[PATCH] initialise page->private
	
	From: Nathan Scott <nathans@sgi.com>
	
	XFS wants to use page->private as a bitmap of uptodate indicators for
	sub-page-sized blocks (which is one of the things ->provate was intended
	for).
	
	But someone needs to initialise ->private somewhere.  best to do it in the
	page allocator, so the zeroness of a new page's ->private becomes a
	system-wide thing.

Hugh

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2010-03-11 18:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-08  9:33 [PATCH] shmem : remove redundant code Huang Shijie
2010-03-08 16:04 ` Minchan Kim
2010-03-09  2:02   ` Huang Shijie
2010-03-08 16:20 ` [PATCH] kvm : remove redundant initialization of page->private Minchan Kim
2010-03-10 10:19   ` Avi Kivity
2010-03-10 14:31     ` Minchan Kim
2010-03-11  7:42       ` Avi Kivity
2010-03-11  8:51         ` Jan Kiszka
2010-03-11  8:55           ` Avi Kivity
2010-03-11 18:43             ` Hugh Dickins [this message]
2010-03-09 21:25 ` [PATCH] shmem : remove redundant code Hugh Dickins

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=alpine.LSU.2.00.1003111835330.5991@sister.anvils \
    --to=hugh.dickins@tiscali.co.uk \
    --cc=akpm@linux-foundation.org \
    --cc=avi@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=linux-mm@kvack.org \
    --cc=minchan.kim@gmail.com \
    --cc=shijie8@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox