Mohit Mishra
chessman786.bsky.social
Mohit Mishra
@chessman786.bsky.social
I just gave him pointers
December 25, 2024 at 8:04 PM
The Inner Workings of the Pentium III: A Block Diagram Analysis
The Pentium III processor is designed with an elegant architecture that separates training and statistics handling into wonderful devices. It consists of a 16 KB instruction cache and a 16 KB statistics cache.
#intel #pentium
December 25, 2024 at 10:46 AM
File Format for Executables on Windows
The PE format begins with a DOS header, followed by NT headers that include file information and optional directories for data types. Section headers then categorize the file into sections for code, data, and debugging, among others.
December 23, 2024 at 6:22 PM
Architecture of Linux Kernel I/O Stack
Drop any questions, you have on this architecture or whatever comes to your mind 😉
December 22, 2024 at 7:12 PM
From Code to Executable: A Journey Through Compilation
December 20, 2024 at 6:35 PM
Does each process have its kernel stack?

Not just each process, each thread has its kernel stack (and, in fact, its user stack as well). Remember the only difference between processes and threads (to Linux) is the fact that multiple threads can share an address space (forming a process).
December 16, 2024 at 6:01 PM
Day 14: Understanding Deadlock Detection Algorithms - A Practical Guide to Deadlock Prevention
In this article, I explained Banker's Algorithms, Conditions for Deadlock, and prevention strategies.

Do let me know what you think 😉
mohitmishra786.github.io/exploring-os...
December 14, 2024 at 1:47 PM
still, you have time friends, LEARN C
December 10, 2024 at 5:07 PM
Day 9: Thread vs Process - Implementing Concurrent Systems in C
Today is Day-9 of our 69 Days of Exploring Operating System. In this article, In this I clarify the differences of Threads vs Process and added some good practical code examples.
Article: mohitmishra786.github.io/exploring-os...
December 9, 2024 at 7:36 AM
ELF File on Disk
ELF (Executable and Linkable Format) files are a standard format for executable files, object code, shared libraries, and core dumps in Unix-like systems.
December 8, 2024 at 6:51 PM
Lifecycle of Threads
December 7, 2024 at 6:48 AM
How Addresses Get Translated in Linux/MIPS Systems

The memory map for a Linux thread on a 32-bit Linux/MIPS system shows that user-accessible memory is in the lower half of the map. The 64-bit version follows similar principles but is more complex.
December 5, 2024 at 5:13 PM
You can observe this growth by examining the /proc/$$/maps file, which reflects the current memory layout of your process. If these segments were to continue growing towards each other, you'd see their addresses getting closer in this file.

Article: mohitmishra786.github.io/exploring-os...
December 4, 2024 at 5:40 PM
Linux Kernel Development: Introduction to Linux Kernel
- Very much theoretical videos
- Explanations are well and informative
👇Source link in the below comment
November 30, 2024 at 12:31 PM
Understanding the x86 Flag Registers
These flags help the CPU make decisions and control program execution, especially during conditional instructions like jumps. Programmers can also access and manipulate these flags with specific instructions for branching in their programs.
November 30, 2024 at 6:57 AM
Handling a Page Fault: A Unified View of Hardware and Software Interactions

We need to know the features of a processor for memory mapping:
1. The ability to walk a page table to find a physical address from a virtual one.
2. The TLB (Translation Lookaside Buffer) cache.
November 29, 2024 at 4:43 AM
Kernel Mode Address Space: Memory Mapping in 32-bit vs. 64-bit Systems

The below image explains the memory mapping schemes for both 32-bit and 64-bit systems in Kernel Mode Address Space
November 24, 2024 at 4:34 PM
File System Structure: Inodes and Data Blocks
- In a file system, inodes are data structures that store information about files in UNIX-based systems
- Each file has one inode containing metadata like file type, access permissions, owner info, size, links count, and pointers to data blocks
November 24, 2024 at 6:25 AM
The Memory Hierarchy
November 23, 2024 at 9:41 AM
Linux Kernel Network Stack: Layered Implementation
Below image explains the network stack in the Linux kernel, which is divided into different layers: User Space, Kernel Space, Application Layer Kernel, Transport Layer, Network Layer, Host to Host Layer, Hardware Specific, and Physical Transmission
November 22, 2024 at 8:08 AM