@kodekloud: OS Internals: Processes vs. Threads Memory Layout! Process vs thread is one of the most asked systems questions in interviews, and most answers skip the part that actually matters: what the kernel is doing underneath. We break down how a process gets its own private slice of RAM, how threads share that same slice instead of copying it, and why that single difference explains both crash isolation and race conditions. One Linux function, clone(), decides which one you get. Subscribe for more OS and systems concepts explained the way engineers actually need them. #ProcessVsThread #OperatingSystems #LinuxKernel #Multithreading #Concurrency #SystemDesign #ComputerScience #DevOps #KernelProgramming #LinuxInternals #CodingShorts #TechShorts #CSFundamentals #KodeKloud #Programming

KodeKloud
KodeKloud
Open In TikTok:
Region: PL
Friday 03 July 2026 15:30:00 GMT
87249
5164
13
229

Music

Download

Comments

mistermrhall
mistermrhall :
Unless that kernel interface has an arbitrary memory read vulnerability 😂 (cough heartbleed)
2026-07-03 18:45:32
26
ahmed39506
Ahmet :
This is only in theory but Kernel API thread is a process exactly but with different context settings only.
2026-07-03 22:13:39
2
ghoullovesgnu
Ghoull🐧 :
Beautiful explanation, thank you.🙏
2026-07-05 04:39:01
1
mou3ezboul3ez
معز مكشخ 🇧🇪🇵🇸🇹🇳♒ :
Thx for this explanation
2026-07-03 19:58:22
1
ej3674
Ghost :
well to be more accurate, the MMU is programmed by the kernel to get memory faults. so technically the hardware blocks to different processes from crossing memory boundaries.
2026-07-06 14:29:50
0
oorshas
Oorsha :
thanks
2026-07-04 19:59:38
0
mahmoud_diop16
MAHMOUD🤍 :
x2 vitess its difficult to get it😏
2026-07-04 05:10:15
1
onyija
Oniya :
Holy shit, now it finally makes sense. You put out the best value videos 👍👍👍 keep it up
2026-07-03 15:42:25
9
To see more videos from user @kodekloud, please go to the Tikwm homepage.

Other Videos


About