New answers tagged

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 ...
user avatar
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 ...
user avatar
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:/...
user avatar
  • 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 ...
user avatar
  • 25.4k

Top 50 recent answers are included