From e4c41b95db04d89f5092c46f9862669e00440364 Mon Sep 17 00:00:00 2001 From: tactonbishop Date: Sun, 11 Sep 2022 12:00:05 +0100 Subject: [PATCH] Last Sync: 2022-09-11 12:00:05 --- Operating_Systems/Basic_Model.md | 2 +- Operating_Systems/Boot_process.md | 2 +- Operating_Systems/Daemons.md | 2 +- Operating_Systems/Devices.md | 2 +- Operating_Systems/Disks/Filesystems.md | 2 +- Operating_Systems/Disks/Partitions.md | 2 +- Operating_Systems/Disks/Swap_space.md | 2 +- Operating_Systems/Disks/What_are_disks.md | 2 +- Operating_Systems/Relation_between_kernel_and_CPU.md | 7 +++---- Operating_Systems/The_Kernel.md | 2 +- Operating_Systems/User_Space.md | 4 ++-- 11 files changed, 14 insertions(+), 15 deletions(-) diff --git a/Operating_Systems/Basic_Model.md b/Operating_Systems/Basic_Model.md index 8f40c5e..cf432e2 100644 --- a/Operating_Systems/Basic_Model.md +++ b/Operating_Systems/Basic_Model.md @@ -1,6 +1,6 @@ --- categories: - - Operating_Systems + - Operating Systems - Linux tags: --- diff --git a/Operating_Systems/Boot_process.md b/Operating_Systems/Boot_process.md index 78c23e9..f6782c9 100644 --- a/Operating_Systems/Boot_process.md +++ b/Operating_Systems/Boot_process.md @@ -1,7 +1,7 @@ --- categories: - Linux - - Operating_Systems + - Operating Systems tags: - disks - bootloader diff --git a/Operating_Systems/Daemons.md b/Operating_Systems/Daemons.md index 497e681..afacc85 100644 --- a/Operating_Systems/Daemons.md +++ b/Operating_Systems/Daemons.md @@ -1,6 +1,6 @@ --- categories: - - Operating_Systems + - Operating Systems tags: --- diff --git a/Operating_Systems/Devices.md b/Operating_Systems/Devices.md index f1acc34..ff70b9f 100644 --- a/Operating_Systems/Devices.md +++ b/Operating_Systems/Devices.md @@ -1,7 +1,7 @@ --- categories: - Linux - - Operating_Systems + - Operating Systems tags: --- diff --git a/Operating_Systems/Disks/Filesystems.md b/Operating_Systems/Disks/Filesystems.md index fe4cd3d..fcda7e9 100644 --- a/Operating_Systems/Disks/Filesystems.md +++ b/Operating_Systems/Disks/Filesystems.md @@ -1,7 +1,7 @@ --- categories: - Linux - - Operating_Systems + - Operating Systems tags: - disks - filesystems diff --git a/Operating_Systems/Disks/Partitions.md b/Operating_Systems/Disks/Partitions.md index 9717bed..8a287b9 100644 --- a/Operating_Systems/Disks/Partitions.md +++ b/Operating_Systems/Disks/Partitions.md @@ -1,7 +1,7 @@ --- categories: - Linux - - Operating_Systems + - Operating Systems tags: - disks - devices diff --git a/Operating_Systems/Disks/Swap_space.md b/Operating_Systems/Disks/Swap_space.md index 3c7578e..5e1abc4 100644 --- a/Operating_Systems/Disks/Swap_space.md +++ b/Operating_Systems/Disks/Swap_space.md @@ -1,7 +1,7 @@ --- categories: - Linux - - Operating_Systems + - Operating Systems tags: - memory - disks diff --git a/Operating_Systems/Disks/What_are_disks.md b/Operating_Systems/Disks/What_are_disks.md index e6e7491..ec6558c 100644 --- a/Operating_Systems/Disks/What_are_disks.md +++ b/Operating_Systems/Disks/What_are_disks.md @@ -1,7 +1,7 @@ --- categories: - Linux - - Operating_Systems + - Operating Systems tags: - disks - devices diff --git a/Operating_Systems/Relation_between_kernel_and_CPU.md b/Operating_Systems/Relation_between_kernel_and_CPU.md index d4584d2..d0d0aeb 100644 --- a/Operating_Systems/Relation_between_kernel_and_CPU.md +++ b/Operating_Systems/Relation_between_kernel_and_CPU.md @@ -1,7 +1,7 @@ --- -categories: +categories: - Linux - - Operating_Systems + - Operating Systems - Hardware tags: - kernel @@ -16,7 +16,6 @@ However as a process, the kernel is the 'first amongst equals' given that it is ![](/img/kernel-cpu-interaction.svg) - > Fetch decode and execute refer to processor pipeline stages. They occur automatically as part of normal processor operation, the kernel doesn’t generally have any direct control over how that happens...When the boot loader loads the kernel, it points the CPU’s program counter to an entry point in the kernel’s code. From there, the CPU will continue executing (fetching decoding and executing) kernel code until you point the program counter to a userspace program, where it will continue executing userspace code until an interrupt points the program counter back into kernel code. That’s basically what the CPU will be doing from boot up to shut down; switching between executing kernel code and executing userspace code ([Reddit](https://www.reddit.com/r/osdev/comments/wdskj5/how_does_kernel_decide_if_use_cpu_or_gpu_after/)) -This is because of [context switching](), when the CPU is running its cycle, the kernel is idle waiting for it to complete. Once control switches back to the kernel it can then run its next duty which will be either process, memory or device management or system calls. Then it will hand control over to either the processor or user space. \ No newline at end of file +This is because of [context switching](), when the CPU is running its cycle, the kernel is idle waiting for it to complete. Once control switches back to the kernel it can then run its next duty which will be either process, memory or device management or system calls. Then it will hand control over to either the processor or user space. diff --git a/Operating_Systems/The_Kernel.md b/Operating_Systems/The_Kernel.md index 668fefa..9fa153b 100644 --- a/Operating_Systems/The_Kernel.md +++ b/Operating_Systems/The_Kernel.md @@ -1,6 +1,6 @@ --- categories: - - Operating systems + - Operating Systems tags: [sytems-programming, processes, memory] --- diff --git a/Operating_Systems/User_Space.md b/Operating_Systems/User_Space.md index 8503d4d..e95ecb4 100644 --- a/Operating_Systems/User_Space.md +++ b/Operating_Systems/User_Space.md @@ -1,7 +1,7 @@ --- categories: - - Operating_Systems - - Linux + - Operating Systems + - Linux tags: ---