Re: Seems the comment of find_next_system_ram() is not exact
From: Borislav Petkov
Date: Sun Sep 25 2011 - 16:09:52 EST
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/