Messages in this thread | | | Date | Tue, 29 Mar 2011 00:44:39 +0200 (CEST) | From | Jesper Juhl <> | Subject | Re: [PATCH 1/3] mm: Optimize pfn calculation in online_page() |
| |
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@net-space.pl>
This looks sane to me.
Reviewed-by: Jesper Juhl <jj@chaosbits.net>
-- Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/ Don't top-post http://www.catb.org/jargon/html/T/top-post.html Plain text mails only, please.
| |