25 Commits (master)

Author SHA1 Message Date
0xAX 5352b11ceb
Merge pull request #783 from Linux-project/imgbot
chore : [ImgBot] Optimize images
2 years ago
Renaud Germain b86c8b8519 copyedit: cgroups chapter 2 years ago
Jun Duan 452ba66cd6 Fix typos for cgroups. 2 years ago
ImgBotApp f82cd213ad
[ImgBot] Optimize images
*Total -- 5,801.05kb -> 4,972.30kb (14.29%)

/Theory/images/4_level_paging.png -- 39.74kb -> 16.28kb (59.03%)
/Misc/images/git_diff.png -- 31.20kb -> 20.24kb (35.12%)
/Interrupts/images/kernel.png -- 65.52kb -> 46.78kb (28.6%)
/Assets/linux-kernel.png -- 42.63kb -> 30.93kb (27.44%)
/Initialization/images/CONFIG_NR_CPUS.png -- 79.77kb -> 59.39kb (25.55%)
/Initialization/images/NX.png -- 8.12kb -> 6.10kb (24.91%)
/Booting/images/minimal_stack.png -- 9.78kb -> 7.96kb (18.61%)
/Booting/images/kernel_first_address.png -- 62.22kb -> 50.95kb (18.12%)
/Booting/images/stack1.png -- 8.14kb -> 6.75kb (17.01%)
/cover.jpg -- 447.00kb -> 374.10kb (16.31%)
/MM/images/memblock.png -- 71.89kb -> 60.89kb (15.3%)
/Booting/images/bss.png -- 8.98kb -> 7.61kb (15.23%)
/Initialization/images/kernel_command_line.png -- 12.67kb -> 10.75kb (15.16%)
/Initialization/images/brk_area.png -- 11.11kb -> 9.50kb (14.52%)
/Timers/images/HZ.png -- 444.06kb -> 383.37kb (13.67%)
/Misc/images/qemu.png -- 87.48kb -> 75.67kb (13.5%)
/Misc/images/dgap_menu.png -- 886.13kb -> 766.69kb (13.48%)
/Misc/images/menuconfig.png -- 837.61kb -> 726.46kb (13.27%)
/Timers/images/base_small.png -- 807.52kb -> 700.40kb (13.27%)
/Misc/images/nconfig.png -- 773.45kb -> 671.00kb (13.25%)
/SysCall/images/ls_shell.png -- 468.70kb -> 407.11kb (13.14%)
/Booting/images/stack2.png -- 9.13kb -> 7.93kb (13.11%)
/Cgroups/images/menuconfig.png -- 118.09kb -> 102.99kb (12.78%)
/Booting/images/video_mode_setup_menu.png -- 12.98kb -> 11.35kb (12.59%)
/Misc/images/google_linux.png -- 120.87kb -> 106.98kb (11.49%)
/Misc/images/github.png -- 73.54kb -> 65.30kb (11.2%)
/MM/images/kernel_configuration_menu1.png -- 123.93kb -> 110.36kb (10.95%)
/Booting/images/linear_address.png -- 8.75kb -> 8.04kb (8.01%)
/MM/images/kernel_configuration_menu2.png -- 117.13kb -> 108.26kb (7.57%)
/Booting/images/try_vmlinuz_in_qemu.png -- 6.87kb -> 6.43kb (6.41%)
/Booting/images/simple_bootloader.png -- 6.05kb -> 5.72kb (5.41%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
3 years ago
Sebastian Fricke 46877264f0 Fix multiple display names for fixed links
Change the display names to match the correct file location, which the
link points to.

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
4 years ago
Sebastian Fricke b5c2dc0a0c Fix display text for github link
s/"kernel/cgroup.c"/"kernel/cgroup/cgroup.c"/

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
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
Manbing 659a9be536 Cgroups/linux-cgroups-1.md: Fix typo
Modify "cp_cgrp_subsys" to "cpu_cgrp_subsys".

Signed-off-by: Manbing <manbing3@gmail.com>
4 years ago
Michael D a82aca5a4a Some more images recovered from waybackmachine
Patch 2: Cgroups/
5 years ago
Maurice Aiken dc844a5dc9 fix the ambiguous sentence 5 years ago
Alexander Kuleshov ca61322d6a cgroups: improve indentation
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
6 years ago
Alexander Kuleshov e896e56c86
s/http/https for linux-insides 6 years ago
Alexander Kuleshov 6be1a85388
fix link to cgroups 6 years ago
Alexander Kuleshov 1e81943f8e
fix link to cgroups 6 years ago
Joshua Murphy 463fcd587a Now successfuly converting each chapter into LaTeX, compiling it and then merging each PDF together into a single book. Currently no image support! 6 years ago
Joshua Murphy 6d69c2431b Refactored files for a unified naming convention, making an autoamted LaTeX build easier too 6 years ago
Alexander Kuleshov 6c1827bf74 fix #546 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
唐一 4f16103d44 Corrected the wrong path name in Cgroups/cgroups1.md 7 years ago
唐一 0045771415 fix: ccs to css (cgroup subsystem stage) 7 years ago
Aaron Hill 17da4af718
Make all Github links reference a specific commit
Closes #480
7 years ago
sachin b27bc0d141 Corrected typos in section: cgroups 7 years ago
proninyaroslav 90f50c2ac5 Change README links as relative 7 years ago
Alexander Kuleshov 6992e97a21 add chapter about cgroups 7 years ago