87 Commits (master)

Author SHA1 Message Date
Guochao Xie eb70541d39 Fix typo in linux-sync-5 1 year ago
0xAX c4b17d17a0
Merge branch 'master' into typo 2 years ago
Renaud Germain 4ba602263d copyedit: synchronization chapter 2 years ago
nannxnann ea81d2b833
Update linux-sync-4.md
From "may be negative after `increment`"
=>"may be negative after `decrement`"
2 years ago
nannxnann e9fbdea09a
fix typo in linux-sync-4.md
From "function will `acct` like "
=> function will `act` like 

Maybe another typo or not?
2 years ago
nannxnann 3dcd5b0fd1
typo in linux-sync-4.md?
From " he implementation of the `__mutex_fastpath_lock` "
=> " `t`he implementation of the `__mutex_fastpath_lock` "

Is this a typo?
if not, I will close this PR, Thanks for your review.
2 years ago
Kian-Meng, Ang 2c15599cfb Fix typos 2 years ago
salmon 39047db890 Update SyncPrim/linux-sync-2.md
Fix description error of __raw_cmpxchg
3 years ago
Jan Sonntag fa1cf540e8 Fix broken links and emails 4 years ago
0xAX af1a757457
Merge pull request #722 from initBasti/fix_broken_links
Fix broken git hub links
4 years ago
Li Yilong af5829bf84 fix typo: &lock-val to &lock->val 4 years ago
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>
4 years ago
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>
4 years ago
Sebastian Fricke 74a281cccc SyncPrim/linux-sync-1 improve wording
Improve wording of multiple sentences in the introduction.
Correct grammar mistakes.
No semantic changes.
4 years ago
SeongJae Park 75a611e28d SyncPrim/linux-sync-2.md: Fix a dot into semicolon
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
5 years ago
SeongJae Park 7fe8bc397a SyncPrim/linux-sync-2.md: Fix missed description about spinlock api
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
5 years ago
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>
5 years ago
SeongJae Park 92b23c9ac3 SyncPrim: Fix a typo: s/expnads/expands/
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
5 years ago
SeongJae Park e5cdd6810d SyncPrim: Consistently wrap 'spinlock' with '`'
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
5 years ago
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>
5 years ago
SeongJae Park 5e190ae3b8 SyncPrim: Consistently wrap 'spinlock' with '`'
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
5 years ago
Ryder bf7b8d8cfb
Grammar updates for queued spinlocks
Rewrote a few sentences to make them easier to read, grammar corrections.
5 years ago
Timothy Liu c387a1b8cf
Proposed improvements to explanation of spinlock 5 years ago
Takuya Yamamoto 1b2ddf49e3 Update linux-sync-2.md 5 years ago
Takuya Yamamoto 90c0c7a80e Update linux-sync-1.md 6 years ago
Benny Zlotnik ae092b2376 Remove redundant "the"
Signed-off-by: Benny Zlotnik <uber442@gmail.com>
6 years ago
Alexander Kuleshov e896e56c86
s/http/https for linux-insides 6 years ago
Dongliang Mu 49c8951eb8 modify broken links related with Thoery, Data structure, Misc and so on 6 years ago
Dongliang Mu 4704d82b25 fix broken links related with 'sync, syscall, timer' 6 years ago
Dongliang Mu 193bc74254 modify interrupts from checking 6 years ago
Alexander Kuleshov 5cfb5aa0e0
fix links in SyncPrim/README.md 6 years ago
Alexander Kuleshov a36078f2ea Merge branch 'ranguli-master' 6 years ago
Joshua Murphy 6d69c2431b Refactored files for a unified naming convention, making an autoamted LaTeX build easier too 6 years ago
Horace Heaven af8826bca1 Minor sentence fixes to make it easier to read 6 years ago
Alexander Kuleshov cd072e902d
fix typo
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
6 years ago
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>
7 years ago
jyhuang91 349e7e6657 topo fix 7 years ago
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>
7 years ago
Chandan Rai fc5cdbb0e7 corrected typos 7 years ago
Aaron Hill 17da4af718
Make all Github links reference a specific commit
Closes #480
7 years ago
proninyaroslav 90f50c2ac5 Change README links as relative 7 years ago
0xAX d13caaa7be add missed 'architecture'' 8 years ago
rawcoder 988d301c76 Update sync-5.md
added missing ```
8 years ago
Tim 7be309a495 Minor fix to sentence structure 8 years ago
Tim e5f784ce7e Minor fix to sentence structure 8 years ago
Tim 418cf4f3f8 Fixes extra link bracket formatting 8 years ago
Tim a376c04c5c Minor fixes dealing with sentence structure 8 years ago
Alex Gonzalez dffbc63f44 additionaly -> additionally 8 years ago
Alex Gonzalez 1296c76929 Fix typos with capitalization and punctuation 8 years ago
Andrew Hobden 4d61295758 Actualy -> Actually 8 years ago