[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-devel] Re: [PATCH 1/3] mm: Optimize pfn calculation in online_page()
- To: Daniel Kiper <dkiper@xxxxxxxxxxxx>
- From: David Rientjes <rientjes@xxxxxxxxxx>
- Date: Mon, 28 Mar 2011 15:41:53 -0700 (PDT)
- Cc: jeremy@xxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, ian.campbell@xxxxxxxxxx, haicheng.li@xxxxxxxxxxxxxxx, konrad.wilk@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, dan.magenheimer@xxxxxxxxxx, v.tolstov@xxxxxxxxx, dave@xxxxxxxxxxxxxxxxxx, linux-mm@xxxxxxxxx, andi.kleen@xxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, fengguang.wu@xxxxxxxxx, wdauchy@xxxxxxxxx
- Delivery-date: Wed, 06 Apr 2011 18:24:00 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; b=VDjxMp/DTIXuzNrgVINhhwdVCjSZTNaXiJ3j+W12+UW44iHQiwTzBNNeGIw+5Jw6Ys 5tnNcLcPlAmFu+htVfBw==
- List-id: Xen developer discussion <xen-devel.lists.xensource.com>
On Mon, 28 Mar 2011, Daniel Kiper wrote:
> If CONFIG_FLATMEM is enabled pfn is calculated in online_page()
> more than once. It is possible to optimize that and use value
> established at beginning of that function.
>
> Signed-off-by: Daniel Kiper <dkiper@xxxxxxxxxxxx>
Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|