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

25 Commits

Author SHA1 Message Date
0xAX
5352b11ceb
Merge pull request #783 from Linux-project/imgbot
chore : [ImgBot] Optimize images
2022-07-31 15:03:04 +06:00
Renaud Germain
b86c8b8519 copyedit: cgroups chapter 2022-07-28 19:50:01 -04:00
Jun Duan
452ba66cd6 Fix typos for cgroups. 2021-12-17 19:29:14 -05:00
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>
2021-08-02 16:25:26 +00:00
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>
2020-08-29 16:49:04 +02:00
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>
2020-08-26 13:17:00 +02: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
Manbing
659a9be536 Cgroups/linux-cgroups-1.md: Fix typo
Modify "cp_cgrp_subsys" to "cpu_cgrp_subsys".

Signed-off-by: Manbing <manbing3@gmail.com>
2020-03-12 09:04:39 +08:00
Michael D
a82aca5a4a Some more images recovered from waybackmachine
Patch 2: Cgroups/
2019-10-10 19:50:47 +02:00
Maurice Aiken
dc844a5dc9 fix the ambiguous sentence 2019-03-12 10:54:53 +08:00
Alexander Kuleshov
ca61322d6a cgroups: improve indentation
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
2018-05-02 00:25:07 +06:00
Alexander Kuleshov
e896e56c86
s/http/https for linux-insides 2018-03-24 01:06:57 +06:00
Alexander Kuleshov
6be1a85388
fix link to cgroups 2018-03-03 00:08:43 +06:00
Alexander Kuleshov
1e81943f8e
fix link to cgroups 2018-03-03 00:07:15 +06:00
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! 2018-02-14 10:58:22 -03:30
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
Alexander Kuleshov
6c1827bf74 fix #546 2017-11-20 00:25:17 +06: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
唐一
4f16103d44 Corrected the wrong path name in Cgroups/cgroups1.md 2017-09-02 23:30:59 +08:00
唐一
0045771415 fix: ccs to css (cgroup subsystem stage) 2017-09-02 12:04:58 +08:00
Aaron Hill
17da4af718
Make all Github links reference a specific commit
Closes #480
2017-07-30 15:56:26 -04:00
sachin
b27bc0d141 Corrected typos in section: cgroups 2017-05-28 10:02:20 +05:30
proninyaroslav
90f50c2ac5 Change README links as relative 2017-01-07 10:53:22 +03:00
Alexander Kuleshov
6992e97a21 add chapter about cgroups 2016-12-30 16:13:46 +06:00