1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-12-22 14:48:08 +00:00
Commit Graph

80 Commits

Author SHA1 Message Date
salmon
39047db890 Update SyncPrim/linux-sync-2.md
Fix description error of __raw_cmpxchg
2021-03-17 17:07:12 +08:00
Jan Sonntag
fa1cf540e8 Fix broken links and emails 2020-10-14 19:40:15 +02:00
0xAX
af1a757457
Merge pull request #722 from initBasti/fix_broken_links
Fix broken git hub links
2020-10-11 13:29:17 +06:00
Li Yilong
af5829bf84 fix typo: &lock-val to &lock->val 2020-09-12 15:21:58 +08:00
Sebastian Fricke
f1b388dbdb Fix broken git hub links
Replace the following dead github links, with equivalent working ones.

s/ 16f73eb02d | https://github.com/torvalds/linux
s/ 16f73eb02d/ | https://github.com/torvalds/linux
s/ 16f73eb02d/Documentation/security/credentials.txt | https://github.com/torvalds/linux/blob/master/Documentation/security/credentials.rst
s/ 16f73eb02d/Documentation/workqueue.txt | 6f0d349d92/Documentation/core-api/workqueue.rst
s/ 16f73eb02d/arch/x86/entry_entry_64.S | https://github.com/torvalds/linux/blob/master/arch/x86/entry/entry_64.S
s/ 16f73eb02d/arch/x86/include/asm/calling.h | https://github.com/torvalds/linux/blob/master/arch/x86/entry/calling.h
s/ 16f73eb02d/arch/x86/include/asm/pgalloc. | https://github.com/torvalds/linux/blob/master/arch/x86/include/asm/pgalloc.h
s/ 16f73eb02d/arch/x86/include/bitops.h | https://github.com/torvalds/linux/blob/master/arch/x86/include/asm/bitops.h
s/ 16f73eb02d/arch/x86/include/irqflags.h | https://github.com/torvalds/linux/blob/master/arch/x86/include/asm/irqflags.h
s/ 16f73eb02d/arch/x86/include/uapi/asm/msr-index.h | https://github.com/torvalds/linux/blob/master/arch/x86/include/asm/msr-index.h
s/ 16f73eb02d/arch/x86/kernel.setup.c | https://github.com/torvalds/linux/blob/master/arch/x86/kernel/setup.c
s/ 16f73eb02d/arch/x86/kernel/entry_64.S | https://github.com/torvalds/linux/blob/master/arch/x86/entry/entry_64.S
s/ 16f73eb02d/arch/x86/kernel/vsyscall_64.c | https://github.com/torvalds/linux/blob/master/arch/x86/entry/vsyscall/vsyscall_64.c
s/ 16f73eb02d/arch/x86/kernel/vsyscall_emu_64.S | https://github.com/torvalds/linux/blob/master/arch/x86/entry/vsyscall/vsyscall_emu_64.S
s/ 16f73eb02d/blob/arch/x86/kernel/cpu/common.c | https://github.com/torvalds/linux/blob/master/arch/x86/kernel/cpu/common.c
s/ 16f73eb02d/drivers/clocksource_acpi_pm.c | https://github.com/torvalds/linux/blob/master/drivers/clocksource/acpi_pm.c
s/ 16f73eb02d/drivers/i2c/i2c-core.c | https://github.com/torvalds/linux/blob/master/drivers/i2c/i2c-core-base.c
s/ 16f73eb02d/include/asm-generic-sections.h | https://github.com/torvalds/linux/blob/master/include/asm-generic/sections.h
s/ 16f73eb02d/include/context_tracking.h | https://github.com/torvalds/linux/blob/master/include/linux/context_tracking.h
s/ 16f73eb02d/include/mm_types.h | https://github.com/torvalds/linux/blob/master/include/linux/mm_types.h
s/ 16f73eb02d/kernel/apic/io_apic.c | https://github.com/torvalds/linux/blob/master/arch/x86/kernel/apic/io_apic.c
s/ 16f73eb02d/kernel/apic/vector.c | https://github.com/torvalds/linux/blob/master/arch/x86/kernel/apic/vector.c
s/ 16f73eb02d/kernel/cgroup.c | https://github.com/torvalds/linux/blob/master/kernel/cgroup/cgroup.c
s/ 16f73eb02d/kernel/cpuset.c | https://github.com/torvalds/linux/blob/master/kernel/cgroup/cpuset.c
s/ 16f73eb02d/kernel/irqinit.c | https://github.com/torvalds/linux/blob/master/arch/x86/kernel/irqinit.c
s/ 16f73eb02d/kernel/locking/lockdep_insides.h | https://github.com/torvalds/linux/blob/master/kernel/locking/lockdep_internals.h
s/ 16f73eb02d/kernel/tick-common.c | https://github.com/torvalds/linux/blob/master/kernel/time/tick-common.c
s/ 16f73eb02d/kernel/time/tich-sched.c | https://github.com/torvalds/linux/blob/master/kernel/time/tick-sched.c
s/ 16f73eb02d/linux/binfmts.h | https://github.com/torvalds/linux/blob/master/include/linux/binfmts.h
s/ 16f73eb02d/locking/rwsem-xadd.c | https://github.com/torvalds/linux/blob/master/kernel/locking/rwsem.c
s/ 16f73eb02d/mm/block.c | https://github.com/torvalds/linux/blob/master/mm/memblock.c
s/ 16f73eb02d/sched/idle.c | https://github.com/torvalds/linux/blob/master/kernel/sched/idle.c
s/ 16f73eb02d/sound/isa/sscape | https://github.com/torvalds/linux/blob/master/sound/isa/sscape.c

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
2020-06-18 17:22:10 +02:00
Sebastian Fricke
2cff4abf08 Gitbook Links: replace old links with new ones
The old links didn't point to valid locations.
Replace the old links with the new links and test those changes with a
small script: https://github.com/initBasti/markdown_link_check .

______________________________________________________________

In order to find and replace the links, I used the following commands:

grep -rwohP '.' -e "\(https\:\/\/0xax.gitbooks.io\/\S*\)" > links.txt
(Find all links recursivly in the project directories and print out the
 only the matches links)

Within links.txt:
Remove the '(' & ')' => :%s/\(//g  and :%s/\)//g
Remove duplicates => :sort u

Test if the links work with:
python3 md_link_check.py --pattern 0xax.gitbook --output-file bad.txt
(https://github.com/initBasti/markdown_link_check)

Create replace commands:
:%s/.*/grep -rl & '.' | xargs sed -i 's#&##g'
Enter replacement URL between the 2nd & 3rd '#'
Execute commands: :w !sh

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
2020-05-31 17:23:17 +02:00
Sebastian Fricke
74a281cccc SyncPrim/linux-sync-1 improve wording
Improve wording of multiple sentences in the introduction.
Correct grammar mistakes.
No semantic changes.
2020-04-17 07:05:09 +02:00
SeongJae Park
75a611e28d SyncPrim/linux-sync-2.md: Fix a dot into semicolon
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
2019-10-01 19:38:35 +02:00
SeongJae Park
7fe8bc397a SyncPrim/linux-sync-2.md: Fix missed description about spinlock api
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
2019-10-01 19:38:35 +02:00
SeongJae Park
eb1bd311bb SyncPrim: Fix wrong link to kernel files
A few links to kernel files in Torvalds's github mirror repo is missing
'/blob/'.  This commit fixes the links.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
2019-05-21 04:23:50 +09:00
SeongJae Park
92b23c9ac3 SyncPrim: Fix a typo: s/expnads/expands/
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
2019-05-21 04:23:50 +09:00
SeongJae Park
e5cdd6810d SyncPrim: Consistently wrap 'spinlock' with '`'
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
2019-05-21 04:23:50 +09:00
SeongJae Park
1ef8bdb653 SyncPrim: Add missed description
A description about 'spin_lock_irqsave' and 'spin_lock_irq' is missing
lock acquisition.  This commit adds the missed description.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
2019-05-21 04:22:09 +09:00
SeongJae Park
5e190ae3b8 SyncPrim: Consistently wrap 'spinlock' with '`'
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
2019-05-21 04:21:45 +09:00
Ryder
bf7b8d8cfb
Grammar updates for queued spinlocks
Rewrote a few sentences to make them easier to read, grammar corrections.
2019-04-16 18:53:10 -07:00
Timothy Liu
c387a1b8cf
Proposed improvements to explanation of spinlock 2019-03-17 17:16:01 +08:00
Takuya Yamamoto
1b2ddf49e3 Update linux-sync-2.md 2018-12-28 18:46:14 +09:00
Takuya Yamamoto
90c0c7a80e Update linux-sync-1.md 2018-11-22 20:50:55 +09:00
Benny Zlotnik
ae092b2376 Remove redundant "the"
Signed-off-by: Benny Zlotnik <uber442@gmail.com>
2018-10-02 17:39:39 +03:00
Alexander Kuleshov
e896e56c86
s/http/https for linux-insides 2018-03-24 01:06:57 +06:00
Dongliang Mu
49c8951eb8 modify broken links related with Thoery, Data structure, Misc and so on 2018-03-22 19:50:44 -04:00
Dongliang Mu
4704d82b25 fix broken links related with 'sync, syscall, timer' 2018-03-22 00:48:13 -04:00
Dongliang Mu
193bc74254 modify interrupts from checking 2018-03-19 22:31:59 -04:00
Alexander Kuleshov
5cfb5aa0e0
fix links in SyncPrim/README.md 2018-03-03 00:11:51 +06:00
Alexander Kuleshov
a36078f2ea Merge branch 'ranguli-master' 2018-03-02 23:56:35 +06:00
Joshua Murphy
6d69c2431b Refactored files for a unified naming convention, making an autoamted LaTeX build easier too 2018-02-14 10:03:16 -03:30
Horace Heaven
af8826bca1 Minor sentence fixes to make it easier to read 2018-02-14 03:35:19 -04:00
Alexander Kuleshov
cd072e902d
fix typo
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2018-01-11 00:14:23 +06:00
Fupan Li
ec3fa13996 spinlock: fix the wrong function name of arch_spin_lock
It should be arch_spin_unlock instead of arch_spin_lock.

Signed-off-by: Fupan Li <fupan.li@windriver.com>
2017-11-29 11:58:37 +08:00
jyhuang91
349e7e6657 topo fix 2017-09-28 17:00:40 -05:00
Radek Dostál
b420e581fe Fix Wikipedia links containing ()
Based on: https://stackoverflow.com/questions/13824669/how-do-you-write-a-link-containing-a-closing-bracket-in-markdown-syntax

Signed-off-by: Radek Dostál <rd@radekdostal.com>
2017-09-05 22:48:58 +02:00
Chandan Rai
fc5cdbb0e7 corrected typos 2017-08-02 00:12:24 +05:30
Aaron Hill
17da4af718
Make all Github links reference a specific commit
Closes #480
2017-07-30 15:56:26 -04:00
proninyaroslav
90f50c2ac5 Change README links as relative 2017-01-07 10:53:22 +03:00
0xAX
d13caaa7be add missed 'architecture'' 2016-10-24 01:00:02 +06:00
rawcoder
988d301c76 Update sync-5.md
added missing ```
2016-09-06 16:24:33 +05:30
Tim
7be309a495 Minor fix to sentence structure 2016-07-10 23:11:51 -04:00
Tim
e5f784ce7e Minor fix to sentence structure 2016-07-10 23:08:52 -04:00
Tim
418cf4f3f8 Fixes extra link bracket formatting 2016-07-10 23:07:01 -04:00
Tim
a376c04c5c Minor fixes dealing with sentence structure 2016-07-10 22:52:09 -04:00
Alex Gonzalez
dffbc63f44 additionaly -> additionally 2016-07-10 11:17:22 -07:00
Alex Gonzalez
1296c76929 Fix typos with capitalization and punctuation 2016-07-10 11:08:56 -07:00
Andrew Hobden
4d61295758 Actualy -> Actually 2016-07-10 10:30:43 -07:00
Connor Mullen
6fa41a0f21 fixes typos and inverted logic in seqlock theory paragraphs 2016-07-10 10:01:13 -07:00
0xAX
e0c0a108c0 Update sync-6.md 2016-07-10 20:19:11 +06:00
0xAX
6f85b63e34 Update README.md 2016-07-10 20:18:21 +06:00
0xAX
236962132d Create sync-6.md 2016-07-10 20:17:36 +06:00
0xAX
e8ecaa1898 Update sync-5.md 2016-07-05 14:23:18 +06:00
0xAX
1abe8a334b Update sync-5.md 2016-07-05 14:22:55 +06:00
0xAX
bc506fcfcd Remove duplication 2016-07-05 14:20:53 +06:00