lkml.org 
[lkml]   [2011]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Seems the comment of find_next_system_ram() is not exact
On Sun, Sep 25, 2011 at 11:02:47PM +0800, Wizard wrote:

Hi,

please do not top-post when replying to messages.

> Thanks for your reply and for your suggestion to use "git annotate".
> I learned a lot from you.
>
> I see the commit by KAMEZAWA. While still not know why he change
> code this way to cover the overlap case.
>
> I find the function is introduced in 2842f11419704f8707fffc82e10d2263427fc130.
> While the mm/memory_hotplug.c is chaged during this period.
> If I want to view the code at that moment, I should use git checkout
> 2842f11419704f8707fffc82e10d2263427fc130?

No need, you can simply do

git show 2842f11419704f8707fffc82e10d2263427fc130:kernel/resource.c

as with every other git commit and file tracked by git.

HTH.

--
Regards/Gruss,
Boris.


\
 
 \ /
  Last update: 2011-09-25 22:13    [W:0.063 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site