Linux Learnings

Implementation Issues to Address In Memory Management

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,…

Read More Implementation Issues to Address In Memory Management
Keep reading

Difference between Kernel and OS

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…

Read More Difference between Kernel and OS
Keep reading

Stages of Pipelining in A CPU

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…

Read More Stages of Pipelining in A CPU
Keep reading

WHAT THE FU*K

The Fast Inverse Square Root line of code, ‘i = 0x5f3759df – (i >> 1);’, revolutionized graphics processing in the 90s by efficiently calculating 1/sqrt(x) through bit manipulation and approximation. It exemplified creative programming, significantly enhancing…

Read More WHAT THE FU*K
Keep reading

What is Context Switching 

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…

Read More What is Context Switching 
Keep reading

Something went wrong. Please refresh the page and/or try again.