New answers tagged operating-systems
0
votes
Why is this code for dining philosophers deadlock free?
So apparently my confusion has to do with not realizing what a monitor really is. "The monitor construct ensures that only one process at a time is active
within the monitor" This means that ...
1
vote
How do we run programs which are bigger than RAM itself
For the sake of clarification I'll answer this :
I play games which take up more space than my RAM. My RAM is 8gb, but i can still play them. How's that possible
Games are typically made up of large ...
1
vote
How do we run programs which are bigger than RAM itself
Your computer's operating system uses memory paging, which addresses this problem by loading only part of the .exe in memory at any one time, based on what parts are currently needed. See also https:/...

D.W.♦
- 143k
1
vote
Is there any mechanism where the kernel portion of an OS in memory may also be swapped?
Usually pages that are used by the kernel are marked as "forced resident" or "swappable" or "cache".
Let's say the kernel uses some memory to cache the contents of a file ...
Top 50 recent answers are included
Related Tags
operating-systems × 697memory-management × 113
process-scheduling × 88
virtual-memory × 82
computer-architecture × 78
paging × 67
os-kernel × 57
concurrency × 54
deadlocks × 47
synchronization × 43
threads × 39
cpu × 26
scheduling × 24
algorithms × 21
filesystems × 20
memory-hardware × 19
memory-allocation × 19
terminology × 17
memory-access × 17
mutual-exclusion × 17
cpu-cache × 15
security × 13
multi-tasking × 11
compilers × 10
real-time × 9