0xAX / linux-insides

A little bit about a linux kernel
http://0xax.gitbooks.io/linux-insides/content/index.html
Other
30.01k stars 3.37k forks source link

URL to Linux Kernel on Github change to LXR #406

Open mudongliang opened 8 years ago

mudongliang commented 8 years ago

@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.

mudongliang commented 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.

0xAX commented 8 years ago

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.

mudongliang commented 8 years ago

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

mudongliang commented 8 years ago

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.

mytbk commented 6 years ago

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

mudongliang commented 6 years ago

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.

mudongliang commented 6 years ago

How do you think @mytbk @0xAX ?

0xAX commented 6 years ago

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