{"id":3624,"date":"2024-04-13T09:53:27","date_gmt":"2024-04-13T04:23:27","guid":{"rendered":"https:\/\/cthecosmos.com\/?page_id=3624"},"modified":"2024-04-13T09:53:27","modified_gmt":"2024-04-13T04:23:27","slug":"linux-learnings","status":"publish","type":"page","link":"https:\/\/cthecosmos.com\/?page_id=3624","title":{"rendered":"Linux Learnings"},"content":{"rendered":"\t<div\n\t\tclass=\"wp-block-newspack-blocks-homepage-articles wpnbha show-image image-alignbehind ts-4 is-3 is-landscape  has-more-button\"\n\t\tstyle=\"\"\n\t\t>\n\t\t<div data-posts data-current-post-id=\"3624\">\n\t\t\t\t\t\t\n\t<article data-post-id=\"5077\"\n\t\tclass=\"tag-dynamic-memory tag-embedded-systems tag-engineering tag-memory-issues tag-memory-management category-embedded category-embedded-systems category-linux-3 category-operating-system type-post post-has-image\"\n\t\t\t\tstyle=\"min-height: 0vh; padding-top: 0vh;\"\n\t\t\t\t>\n\t\t\t\t\t\t\t<figure class=\"post-thumbnail\">\n\t\t\t\t\t\t\t\t<a href=\"https:\/\/cthecosmos.com\/?p=5077\" rel=\"bookmark\" tabindex=\"-1\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2026\/08\/yashwanth-naidu-tikkisetty-6a7e9e9eb591f.png?resize=800%2C600&amp;ssl=1\" class=\"attachment-newspack-article-block-landscape-medium size-newspack-article-block-landscape-medium wp-post-image\" alt=\"Implementation Issues to Address In Memory Management\" data-hero-candidate=\"1\" data-attachment-id=\"5083\" data-permalink=\"https:\/\/cthecosmos.com\/?attachment_id=5083\" data-orig-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2026\/08\/yashwanth-naidu-tikkisetty-6a7e9e9eb591f.png?fit=1024%2C1024&amp;ssl=1\" data-orig-size=\"1024,1024\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;,&quot;alt&quot;:&quot;&quot;}\" data-image-title=\"Computer memory block allocation overview\" data-image-description=\"&lt;p&gt;A dark-themed computer memory allocator dashboard displays a 16-by-16 grid of 256 memory blocks. Blue blocks indicate occupied memory and gray blocks indicate free memory, with the legend identifying both states. The header reports 72 occupied blocks, representing 28%, and 184 free blocks, representing 72%; many grid cells also contain hexadecimal addresses and status labels.&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;A memory allocator dashboard shows 256 blocks, with 72 occupied and 184 available.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2026\/08\/yashwanth-naidu-tikkisetty-6a7e9e9eb591f.png?fit=1000%2C1000&amp;ssl=1\" \/>\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\n\t\t\t\t\t\t\t<\/figure><!-- .featured-image -->\n\t\t\n\t\t<div class=\"entry-wrapper\">\n\t\t\t\t\t\t<h2 class=\"entry-title\"><a href=\"https:\/\/cthecosmos.com\/?p=5077\" rel=\"bookmark\">Implementation Issues to Address In Memory Management<\/a><\/h2>\t\t\t\t\t\t<p>Memory allocation through malloc() and free() involves complex underlying processes. Key challenges include tracking sizes of released memory, maintaining free blocks, and choosing allocation strategies like first-fit, best-fit, or worst-fit. These decisions affect allocation speed, fragmentation,\u2026<\/p>\n<a href=\"https:\/\/cthecosmos.com\/?p=5077\" class=\"more-link\">Read More <span class=\"screen-reader-text\">Implementation Issues to Address In Memory Management<\/span><\/a>\t\t\t\t<a class=\"more-link\" href=\"https:\/\/cthecosmos.com\/?p=5077\" rel=\"bookmark\">\n\t\t\t\t\tKeep reading\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<div class=\"entry-meta\">\n\t\t\t\t\t<a href=\"https:\/\/cthecosmos.com\/?author=120055267\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=48&amp;d=identicon&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=96&amp;d=identicon&amp;r=g 2x\" class=\"avatar avatar-48 photo\" height=\"48\" width=\"48\" \/><\/a>\t\t\t\t\t\t<span class=\"byline\">\n\t\t\t\t\t\t\t<span class=\"author-prefix\">by<\/span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"https:\/\/cthecosmos.com\/?author=120055267\">Yashwanth Naidu Tikkisetty<\/a><\/span>\t\t\t\t\t\t<\/span><!-- .author-name -->\n\t\t\t\t\t\t<time class=\"entry-date published\" datetime=\"2026-08-14T10:23:25+05:30\">August 14, 2026<\/time><time class=\"updated\" datetime=\"2026-08-14T10:26:05+05:30\">August 14, 2026<\/time>\t\t\t\t<\/div><!-- .entry-meta -->\n\t\t\t\t\t\t\t\t<\/div><!-- .entry-wrapper -->\n\t<\/article>\n\n\t\t\n\t<article data-post-id=\"5029\"\n\t\tclass=\"tag-embedded-systems tag-gnu tag-kernel tag-linux-2 tag-linuxlearning-2 tag-operating-system category-c-concepts-hub category-embedded category-embedded-systems category-linux-3 category-linuxlearnings category-operating-system type-post post-has-image\"\n\t\t\t\tstyle=\"min-height: 0vh; padding-top: 0vh;\"\n\t\t\t\t>\n\t\t\t\t\t\t\t<figure class=\"post-thumbnail\">\n\t\t\t\t\t\t\t\t<a href=\"https:\/\/cthecosmos.com\/?p=5029\" rel=\"bookmark\" tabindex=\"-1\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2026\/08\/LinuxvsGNU.png?resize=800%2C600&amp;ssl=1\" class=\"attachment-newspack-article-block-landscape-medium size-newspack-article-block-landscape-medium wp-post-image\" alt=\"Difference between Kernel and OS\" data-hero-candidate=\"1\" data-attachment-id=\"5038\" data-permalink=\"https:\/\/cthecosmos.com\/?attachment_id=5038\" data-orig-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2026\/08\/LinuxvsGNU.png?fit=896%2C855&amp;ssl=1\" data-orig-size=\"896,855\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;,&quot;alt&quot;:&quot;&quot;}\" data-image-title=\"LinuxvsGNU\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2026\/08\/LinuxvsGNU.png?fit=896%2C855&amp;ssl=1\" \/>\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\n\t\t\t\t\t\t\t<\/figure><!-- .featured-image -->\n\t\t\n\t\t<div class=\"entry-wrapper\">\n\t\t\t\t\t\t<h2 class=\"entry-title\"><a href=\"https:\/\/cthecosmos.com\/?p=5029\" rel=\"bookmark\">Difference between Kernel and OS<\/a><\/h2>\t\t\t\t\t\t<p>Understanding the kernel and operating system is vital for technology professionals. The kernel manages core tasks like processing and memory, while the OS provides a user interface and additional services. This document defines their roles and\u2026<\/p>\n<a href=\"https:\/\/cthecosmos.com\/?p=5029\" class=\"more-link\">Read More <span class=\"screen-reader-text\">Difference between Kernel and OS<\/span><\/a>\t\t\t\t<a class=\"more-link\" href=\"https:\/\/cthecosmos.com\/?p=5029\" rel=\"bookmark\">\n\t\t\t\t\tKeep reading\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<div class=\"entry-meta\">\n\t\t\t\t\t<a href=\"https:\/\/cthecosmos.com\/?author=120055267\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=48&amp;d=identicon&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=96&amp;d=identicon&amp;r=g 2x\" class=\"avatar avatar-48 photo\" height=\"48\" width=\"48\" \/><\/a>\t\t\t\t\t\t<span class=\"byline\">\n\t\t\t\t\t\t\t<span class=\"author-prefix\">by<\/span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"https:\/\/cthecosmos.com\/?author=120055267\">Yashwanth Naidu Tikkisetty<\/a><\/span>\t\t\t\t\t\t<\/span><!-- .author-name -->\n\t\t\t\t\t\t<time class=\"entry-date published\" datetime=\"2026-08-04T12:05:21+05:30\">August 4, 2026<\/time><time class=\"updated\" datetime=\"2026-08-04T12:05:23+05:30\">August 4, 2026<\/time>\t\t\t\t<\/div><!-- .entry-meta -->\n\t\t\t\t\t\t\t\t<\/div><!-- .entry-wrapper -->\n\t<\/article>\n\n\t\t\n\t<article data-post-id=\"5014\"\n\t\tclass=\"tag-embedded-systems tag-linux-fun tag-linuxlearning-2 tag-pipeline category-embedded category-embedded-systems category-linux-3 category-linuxlearnings category-operating-system type-post post-has-image\"\n\t\t\t\tstyle=\"min-height: 0vh; padding-top: 0vh;\"\n\t\t\t\t>\n\t\t\t\t\t\t\t<figure class=\"post-thumbnail\">\n\t\t\t\t\t\t\t\t<a href=\"https:\/\/cthecosmos.com\/?p=5014\" rel=\"bookmark\" tabindex=\"-1\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2026\/08\/yashwanth-naidu-tikkisetty-6a7180e813c21.png?resize=800%2C600&amp;ssl=1\" class=\"attachment-newspack-article-block-landscape-medium size-newspack-article-block-landscape-medium wp-post-image\" alt=\"Stages of Pipelining in A CPU\" data-hero-candidate=\"1\" data-attachment-id=\"5024\" data-permalink=\"https:\/\/cthecosmos.com\/?attachment_id=5024\" data-orig-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2026\/08\/yashwanth-naidu-tikkisetty-6a7180e813c21.png?fit=1024%2C1024&amp;ssl=1\" data-orig-size=\"1024,1024\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;,&quot;alt&quot;:&quot;&quot;}\" data-image-title=\"CPU pipeline stages schematic illustration\" data-image-description=\"&lt;p&gt;The image depicts a detailed 3D schematic of a CPU instruction pipeline consisting of five distinct stages, each represented by glowing, color-coded cubes. The stages include Instruction Fetch (blue), Instruction Decode (green), Execute (orange), Memory Access (purple), and Write Back (red), connected by illuminated pathways symbolizing data and instruction flow. Surrounding the pipeline are circuit-board-like elements and binary sequences, reflecting the computational and electronic context. The vibrant colors and glowing effects enhance the visualization of the sequential processing stages within a CPU architecture.&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;A colorful 3D diagram illustrating the five stages of a CPU instruction pipeline.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2026\/08\/yashwanth-naidu-tikkisetty-6a7180e813c21.png?fit=1000%2C1000&amp;ssl=1\" \/>\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\n\t\t\t\t\t\t\t<\/figure><!-- .featured-image -->\n\t\t\n\t\t<div class=\"entry-wrapper\">\n\t\t\t\t\t\t<h2 class=\"entry-title\"><a href=\"https:\/\/cthecosmos.com\/?p=5014\" rel=\"bookmark\">Stages of Pipelining in A CPU<\/a><\/h2>\t\t\t\t\t\t<p>This write-up discusses CPU pipelining, an essential technique to optimize processor performance by overlapping instruction execution. It includes a link to a detailed PDF resource for further reading and is authored by Yashwanth Naidu Tikkisetty, with\u2026<\/p>\n<a href=\"https:\/\/cthecosmos.com\/?p=5014\" class=\"more-link\">Read More <span class=\"screen-reader-text\">Stages of Pipelining in A CPU<\/span><\/a>\t\t\t\t<a class=\"more-link\" href=\"https:\/\/cthecosmos.com\/?p=5014\" rel=\"bookmark\">\n\t\t\t\t\tKeep reading\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<div class=\"entry-meta\">\n\t\t\t\t\t<a href=\"https:\/\/cthecosmos.com\/?author=120055267\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=48&amp;d=identicon&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=96&amp;d=identicon&amp;r=g 2x\" class=\"avatar avatar-48 photo\" height=\"48\" width=\"48\" \/><\/a>\t\t\t\t\t\t<span class=\"byline\">\n\t\t\t\t\t\t\t<span class=\"author-prefix\">by<\/span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"https:\/\/cthecosmos.com\/?author=120055267\">Yashwanth Naidu Tikkisetty<\/a><\/span>\t\t\t\t\t\t<\/span><!-- .author-name -->\n\t\t\t\t\t\t<time class=\"entry-date published\" datetime=\"2026-08-04T11:47:18+05:30\">August 4, 2026<\/time><time class=\"updated\" datetime=\"2026-08-04T11:47:21+05:30\">August 4, 2026<\/time>\t\t\t\t<\/div><!-- .entry-meta -->\n\t\t\t\t\t\t\t\t<\/div><!-- .entry-wrapper -->\n\t<\/article>\n\n\t\t\n\t<article data-post-id=\"4572\"\n\t\tclass=\"tag-article tag-bitwise tag-classiccode tag-comment tag-cprogramming-2 tag-embeddedsystems-2 tag-fastinversesquareroot tag-floattricks tag-gamedev tag-github tag-graphics tag-hack tag-linux-2 tag-lowlevel tag-magicnumber tag-newtonmethod tag-optimization tag-performance tag-quake3 tag-vectornormalization tag-whatthefuckcomment category-c-programming category-embedded-systems category-linuxlearnings type-post post-has-image\"\n\t\t\t\tstyle=\"min-height: 0vh; padding-top: 0vh;\"\n\t\t\t\t>\n\t\t\t\t\t\t\t<figure class=\"post-thumbnail\">\n\t\t\t\t\t\t\t\t<a href=\"https:\/\/cthecosmos.com\/?p=4572\" rel=\"bookmark\" tabindex=\"-1\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2025\/09\/WTH.jpg?resize=800%2C600&amp;ssl=1\" class=\"attachment-newspack-article-block-landscape-medium size-newspack-article-block-landscape-medium wp-post-image\" alt=\"WHAT THE FU*K\" data-hero-candidate=\"1\" data-attachment-id=\"4579\" data-permalink=\"https:\/\/cthecosmos.com\/?attachment_id=4579\" data-orig-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2025\/09\/WTH.jpg?fit=1024%2C1024&amp;ssl=1\" data-orig-size=\"1024,1024\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"WTH\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2025\/09\/WTH.jpg?fit=1000%2C1000&amp;ssl=1\" \/>\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\n\t\t\t\t\t\t\t<\/figure><!-- .featured-image -->\n\t\t\n\t\t<div class=\"entry-wrapper\">\n\t\t\t\t\t\t<h2 class=\"entry-title\"><a href=\"https:\/\/cthecosmos.com\/?p=4572\" rel=\"bookmark\">WHAT THE FU*K<\/a><\/h2>\t\t\t\t\t\t<p>The Fast Inverse Square Root line of code, &#8216;i = 0x5f3759df &#8211; (i >> 1);&#8217;, revolutionized graphics processing in the 90s by efficiently calculating 1\/sqrt(x) through bit manipulation and approximation. It exemplified creative programming, significantly enhancing\u2026<\/p>\n<a href=\"https:\/\/cthecosmos.com\/?p=4572\" class=\"more-link\">Read More <span class=\"screen-reader-text\">WHAT THE FU*K<\/span><\/a>\t\t\t\t<a class=\"more-link\" href=\"https:\/\/cthecosmos.com\/?p=4572\" rel=\"bookmark\">\n\t\t\t\t\tKeep reading\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<div class=\"entry-meta\">\n\t\t\t\t\t<a href=\"https:\/\/cthecosmos.com\/?author=120055267\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=48&amp;d=identicon&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=96&amp;d=identicon&amp;r=g 2x\" class=\"avatar avatar-48 photo\" height=\"48\" width=\"48\" \/><\/a>\t\t\t\t\t\t<span class=\"byline\">\n\t\t\t\t\t\t\t<span class=\"author-prefix\">by<\/span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"https:\/\/cthecosmos.com\/?author=120055267\">Yashwanth Naidu Tikkisetty<\/a><\/span>\t\t\t\t\t\t<\/span><!-- .author-name -->\n\t\t\t\t\t\t<time class=\"entry-date published\" datetime=\"2025-09-06T13:17:50+05:30\">September 6, 2025<\/time><time class=\"updated\" datetime=\"2025-09-06T13:17:54+05:30\">September 6, 2025<\/time>\t\t\t\t<\/div><!-- .entry-meta -->\n\t\t\t\t\t\t\t\t<\/div><!-- .entry-wrapper -->\n\t<\/article>\n\n\t\t\n\t<article data-post-id=\"4541\"\n\t\tclass=\"tag-context-switching tag-embedded-systems tag-linux-2 tag-operating-system tag-os-2 category-c-programming category-embedded-systems category-linux-3 category-linuxlearnings type-post post-has-image\"\n\t\t\t\tstyle=\"min-height: 0vh; padding-top: 0vh;\"\n\t\t\t\t>\n\t\t\t\t\t\t\t<figure class=\"post-thumbnail\">\n\t\t\t\t\t\t\t\t<a href=\"https:\/\/cthecosmos.com\/?p=4541\" rel=\"bookmark\" tabindex=\"-1\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2025\/09\/create-a-highly-detailed-and-sharp-focused-image-illustrating-the-concept.jpg?resize=800%2C600&amp;ssl=1\" class=\"attachment-newspack-article-block-landscape-medium size-newspack-article-block-landscape-medium wp-post-image\" alt=\"What is Context Switching\u00a0\" data-hero-candidate=\"1\" srcset=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2025\/09\/create-a-highly-detailed-and-sharp-focused-image-illustrating-the-concept.jpg?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2025\/09\/create-a-highly-detailed-and-sharp-focused-image-illustrating-the-concept.jpg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2025\/09\/create-a-highly-detailed-and-sharp-focused-image-illustrating-the-concept.jpg?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2025\/09\/create-a-highly-detailed-and-sharp-focused-image-illustrating-the-concept.jpg?resize=800%2C600&amp;ssl=1 800w, https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2025\/09\/create-a-highly-detailed-and-sharp-focused-image-illustrating-the-concept.jpg?resize=600%2C450&amp;ssl=1 600w, https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2025\/09\/create-a-highly-detailed-and-sharp-focused-image-illustrating-the-concept.jpg?resize=400%2C300&amp;ssl=1 400w, https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2025\/09\/create-a-highly-detailed-and-sharp-focused-image-illustrating-the-concept.jpg?resize=200%2C150&amp;ssl=1 200w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" data-attachment-id=\"4548\" data-permalink=\"https:\/\/cthecosmos.com\/?attachment_id=4548\" data-orig-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2025\/09\/create-a-highly-detailed-and-sharp-focused-image-illustrating-the-concept.jpg?fit=1024%2C768&amp;ssl=1\" data-orig-size=\"1024,768\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"create-a-highly-detailed-and-sharp-focused-image-illustrating-the-concept\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2025\/09\/create-a-highly-detailed-and-sharp-focused-image-illustrating-the-concept.jpg?fit=1000%2C750&amp;ssl=1\" \/>\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\n\t\t\t\t\t\t\t<\/figure><!-- .featured-image -->\n\t\t\n\t\t<div class=\"entry-wrapper\">\n\t\t\t\t\t\t<h2 class=\"entry-title\"><a href=\"https:\/\/cthecosmos.com\/?p=4541\" rel=\"bookmark\">What is Context Switching\u00a0<\/a><\/h2>\t\t\t\t\t\t<p>The article explains context switching and details the roles of the scheduler and kernel during the process. It highlights how efficient context switching is crucial for multitasking in operating systems, allowing multiple processes to share system\u2026<\/p>\n<a href=\"https:\/\/cthecosmos.com\/?p=4541\" class=\"more-link\">Read More <span class=\"screen-reader-text\">What is Context Switching\u00a0<\/span><\/a>\t\t\t\t<a class=\"more-link\" href=\"https:\/\/cthecosmos.com\/?p=4541\" rel=\"bookmark\">\n\t\t\t\t\tKeep reading\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<div class=\"entry-meta\">\n\t\t\t\t\t<a href=\"https:\/\/cthecosmos.com\/?author=120055267\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=48&amp;d=identicon&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=96&amp;d=identicon&amp;r=g 2x\" class=\"avatar avatar-48 photo\" height=\"48\" width=\"48\" \/><\/a>\t\t\t\t\t\t<span class=\"byline\">\n\t\t\t\t\t\t\t<span class=\"author-prefix\">by<\/span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"https:\/\/cthecosmos.com\/?author=120055267\">Yashwanth Naidu Tikkisetty<\/a><\/span>\t\t\t\t\t\t<\/span><!-- .author-name -->\n\t\t\t\t\t\t<time class=\"entry-date published\" datetime=\"2025-09-03T09:15:03+05:30\">September 3, 2025<\/time><time class=\"updated\" datetime=\"2025-09-03T09:15:06+05:30\">September 3, 2025<\/time>\t\t\t\t<\/div><!-- .entry-meta -->\n\t\t\t\t\t\t\t\t<\/div><!-- .entry-wrapper -->\n\t<\/article>\n\n\t\t\t\t<\/div>\n\t\t\t\t\t<button type=\"button\" class=\"wp-block-button__link\"  data-next=\"https:\/\/cthecosmos.com\/index.php?rest_route=%2Fnewspack-blocks%2Fv1%2Farticles&#038;excerptLength=36&#038;showReadMore=1&#038;moreButton=1&#038;postsToShow=5&#038;mediaPosition=behind&#038;categories%5B0%5D=35264203&#038;categories%5B1%5D=769114260&#038;className&#038;showExcerpt=1&#038;showFullContent=0&#038;infiniteScroll=0&#038;readMoreLabel=Keep%20reading&#038;showDate=1&#038;showImage=1&#038;showCaption=0&#038;showCredit=0&#038;disableImageLazyLoad=0&#038;fetchPriority&#038;imageShape=landscape&#038;minHeight=0&#038;moreButtonText&#038;showAuthor=1&#038;showAvatar=1&#038;showCategory=0&#038;showTagLabels=1&#038;postLayout=list&#038;columns=3&#038;colGap=3&#038;&#038;categoryJoinType=or&#038;includeSubcategories=1&#038;&#038;&#038;&#038;&#038;&#038;&#038;typeScale=4&#038;imageScale=3&#038;mobileStack=0&#038;sectionHeader&#038;specificMode=0&#038;textColor&#038;customTextColor&#038;singleMode=0&#038;showSubtitle=0&#038;postType%5B0%5D=post&#038;textAlign&#038;includedPostStatuses%5B0%5D=publish&#038;deduplicate=1&#038;page=2\">\n\t\t\t\t<span class=\"label\">\n\t\t\t\t\tLoad more posts\t\t\t\t<\/span>\n\t\t\t\t<span class=\"loading\"><\/span>\n\t\t\t<\/button>\n\t\t\t<p class=\"error\">\n\t\t\t\tSomething went wrong. Please refresh the page and\/or try again.\t\t\t<\/p>\n\n\t\t\n\t<\/div>\n\t","protected":false},"excerpt":{"rendered":"<a href=\"https:\/\/cthecosmos.com\/?page_id=3624\" class=\"more-link\">Read More <span class=\"screen-reader-text\">Linux Learnings<\/span><\/a>","protected":false},"author":120055267,"featured_media":4057,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_wpcom_ai_launchpad_about_page":false,"_wpcom_ai_launchpad_gallery_page":false,"_wpcom_ai_launchpad_contact_page":false,"_wpcom_ai_launchpad_events_page":false,"_wpcom_ai_launchpad_video_page":false,"_wpcom_ai_launchpad_portfolio_piece":false,"footnotes":"","big_sky_generated":false},"class_list":["post-3624","page","type-page","status-publish","has-post-thumbnail","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/cthecosmos.com\/?page_id=3624\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Yashwanth Naidu Tikkisetty - Embedded Systems | Space Blogger\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Linux Learnings - Yashwanth Naidu Tikkisetty\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/cthecosmos.com\/?page_id=3624\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1200\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-04-13T04:23:27+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-04-13T04:23:27+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Linux Learnings - Yashwanth Naidu Tikkisetty\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?page_id=3624#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cthecosmos.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?page_id=3624#listItem\",\"name\":\"Linux Learnings\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?page_id=3624#listItem\",\"position\":2,\"name\":\"Linux Learnings\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com#listItem\",\"name\":\"Home\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#person\",\"name\":\"Yashwanth Naidu Tikkisetty\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?page_id=3624#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Yashwanth Naidu Tikkisetty\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?page_id=3624#webpage\",\"url\":\"https:\\\/\\\/cthecosmos.com\\\/?page_id=3624\",\"name\":\"Linux Learnings - Yashwanth Naidu Tikkisetty\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?page_id=3624#breadcrumblist\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/cthecosmos.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/linux_page1.webp?fit=1024%2C1024&ssl=1\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?page_id=3624\\\/#mainImage\",\"width\":1024,\"height\":1024},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?page_id=3624#mainImage\"},\"datePublished\":\"2024-04-13T09:53:27+05:30\",\"dateModified\":\"2024-04-13T09:53:27+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#website\",\"url\":\"https:\\\/\\\/cthecosmos.com\\\/\",\"name\":\"Yashwanth Naidu Tikkisetty\",\"description\":\"Embedded Systems | Space Blogger\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Linux Learnings - Yashwanth Naidu Tikkisetty","description":"","canonical_url":"https:\/\/cthecosmos.com\/?page_id=3624","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/cthecosmos.com\/?page_id=3624#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/cthecosmos.com#listItem","position":1,"name":"Home","item":"https:\/\/cthecosmos.com","nextItem":{"@type":"ListItem","@id":"https:\/\/cthecosmos.com\/?page_id=3624#listItem","name":"Linux Learnings"}},{"@type":"ListItem","@id":"https:\/\/cthecosmos.com\/?page_id=3624#listItem","position":2,"name":"Linux Learnings","previousItem":{"@type":"ListItem","@id":"https:\/\/cthecosmos.com#listItem","name":"Home"}}]},{"@type":"Person","@id":"https:\/\/cthecosmos.com\/#person","name":"Yashwanth Naidu Tikkisetty","image":{"@type":"ImageObject","@id":"https:\/\/cthecosmos.com\/?page_id=3624#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Yashwanth Naidu Tikkisetty"}},{"@type":"WebPage","@id":"https:\/\/cthecosmos.com\/?page_id=3624#webpage","url":"https:\/\/cthecosmos.com\/?page_id=3624","name":"Linux Learnings - Yashwanth Naidu Tikkisetty","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/cthecosmos.com\/#website"},"breadcrumb":{"@id":"https:\/\/cthecosmos.com\/?page_id=3624#breadcrumblist"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/linux_page1.webp?fit=1024%2C1024&ssl=1","@id":"https:\/\/cthecosmos.com\/?page_id=3624\/#mainImage","width":1024,"height":1024},"primaryImageOfPage":{"@id":"https:\/\/cthecosmos.com\/?page_id=3624#mainImage"},"datePublished":"2024-04-13T09:53:27+05:30","dateModified":"2024-04-13T09:53:27+05:30"},{"@type":"WebSite","@id":"https:\/\/cthecosmos.com\/#website","url":"https:\/\/cthecosmos.com\/","name":"Yashwanth Naidu Tikkisetty","description":"Embedded Systems | Space Blogger","inLanguage":"en-US","publisher":{"@id":"https:\/\/cthecosmos.com\/#person"}}]},"og:locale":"en_US","og:site_name":"Yashwanth Naidu Tikkisetty - Embedded Systems | Space Blogger","og:type":"article","og:title":"Linux Learnings - Yashwanth Naidu Tikkisetty","og:url":"https:\/\/cthecosmos.com\/?page_id=3624","og:image":"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png","og:image:secure_url":"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png","og:image:width":1200,"og:image:height":1200,"article:published_time":"2024-04-13T04:23:27+00:00","article:modified_time":"2024-04-13T04:23:27+00:00","twitter:card":"summary_large_image","twitter:title":"Linux Learnings - Yashwanth Naidu Tikkisetty","twitter:image":"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png"},"aioseo_meta_data":{"post_id":"3624","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-08-31 20:04:56","updated":"2025-08-31 20:04:56","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/cthecosmos.com\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tLinux Learnings\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/cthecosmos.com"},{"label":"Linux Learnings","link":"https:\/\/cthecosmos.com\/?page_id=3624"}],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P8CiEf-Ws","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/pages\/3624","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/users\/120055267"}],"replies":[{"embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3624"}],"version-history":[{"count":3,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/pages\/3624\/revisions"}],"predecessor-version":[{"id":4056,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/pages\/3624\/revisions\/4056"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/media\/4057"}],"wp:attachment":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}