Messages in this thread | | | Date | Sun, 25 Sep 2011 22:09:42 +0200 | From | Borislav Petkov <> | Subject | Re: 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.
| |