Open mudongliang opened 8 years ago
I will try to update links which points the source code of github kernel repo with links which points to LXR 3.18.
But there are many place for which 3.18 is outdated. I will make review soon and update all currently outdated links in linux-insides to mainline kernel.
I think we could use all links from LXR with different version. For example, boot.txt in v4.0 boot.txt in v4.6 boot.txt v4.6 L106
I have tested this kind of links in our Chinese version.
In the second line of BSS Segment, there is one link : setup_sig.
It is convenient to change the kernel with this link. If you want to change the version of kernel to 4.0, just change the v=4.0
in this link.
What about using stable/linux-stable of the official kernel repo? https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/?h=v3.18
I check the current version of linux-insides. I find that @0xAX mostly uses "the comment id in the master branch of linux kernel git repo". That's a good idea.
How do you think @mytbk @0xAX ?
I'd prefer to follow kernel master branch, its pretty difficult because of huge set of changes in the kernel, but this provides yet another source to follow changes. The book can be fixed in any time
@0xAX When I checked Chinese edition of linux-insides, I found one link to linux kernel on github is broken. It is char/rtc.c in linux-mm-2.md. Because linux kernel mainline is developing very fast. Maybe one link like the above will be broken several months later. So I advise we change all the links to linux kernel on Github to lxr source code link in one version. This is stable and we don't need to change links all the time.