Skip to main content

Questions tagged [operating-systems]

Questions about the principles of software that interfaces between hardware and applications.

0 votes
0 answers
25 views

is the scheduling strategy round robin preemptive? Lets say the quantum is 3 and a process needs 10 to finish but after the first three there is no new process so it continues to run, at t=5 a second ...
Theo's user avatar
  • 1
3 votes
3 answers
960 views

In virtually every picture of the memory layout of a running process there is a segment reserved for kernel memory e.g. https://unix.stackexchange.com/questions/31407/how-does-forking-affect-a-...
PinkFlamingos's user avatar
1 vote
1 answer
70 views

I came across a question that asked: “Can two running processes share the complete process image in physical memory (not just parts of it)?” At first, I thought the answer was No, since each process ...
Aman's user avatar
  • 11
1 vote
0 answers
28 views

Regarding the following question: Let A be an arbitrary correct deadlock-free mutual exclusion algorithm such that its exit code is not wait-free, the number of steps in the exit code of A depends on ...
algorithm-cracker's user avatar
1 vote
1 answer
71 views

My understanding of directed cycles in a digraph $G$ is that it's is a non-empty trail $(v_1, v_2, ..., v_n)$ to some $v \in V$ to itself, where $V$ is the set of vertices. From this graph, I see 4 ...
user181566's user avatar
0 votes
3 answers
141 views

I'm learning about caching, and currently have some degree of familiarity with main memory and paging. While reading this this Intel paper, I'm confused about the term "cache pages". I know ...
JTB's user avatar
  • 101
12 votes
3 answers
2k views

I understand that processors belonging to different architectures have different instruction set and therefore a program compiled for one processor (hardware platform) can't run on a processor with ...
vimalathithan17's user avatar
1 vote
1 answer
87 views

I was solving a problem that was asking me to use the 3 different types of allocations, contiguous, linked list and index allocations. I then got a list of different files with different sizes and was ...
Need_MathHelp's user avatar
0 votes
0 answers
31 views

Could one get access to the start and stop addresses of every file in a directory from the file allocation table and stream all of those bytes into a hashing algorithm without individually opening and ...
Jason Nichols's user avatar
0 votes
1 answer
65 views

I am going through this chapter https://pages.cs.wisc.edu/~remzi/OSTEP/threads-locks.pdf , I read the author mentioning Test-And-Set and CompareAndSwap's being atomic. Please find the code snippets ...
Vivek Anand's user avatar
-1 votes
1 answer
116 views

What happens when all keys on a keyboard are pressed simultaneously? How do hardware limitations like key rollover and ghosting affect the input registered by the computer, given that the operating ...
Jitesh Bhowmik's user avatar
1 vote
1 answer
91 views

Would it be possible to do memoization on complete states of a computer? In other words, would it be possible to map out complete states (of a program or OS) and then memoize them to have a speedup of ...
Shawn W.'s user avatar
0 votes
0 answers
99 views

It is a common knowledge that Windows kernel is written in C and Windows in C++. I understand that the CPU can run Windows OS, because the compiled executable runs in machine code, not in C or C++. My ...
DevelBase2's user avatar
0 votes
1 answer
52 views

Boot process is wonderful, but quite tedious to wait the kernel reload every needed objects on the RAM again. One day, I was wondering if it was possible the kernel to "take a snapshot" of ...
Sergio Abreu's user avatar
1 vote
2 answers
146 views

I am trying to understand the difference between CPU Bound vs IO Bound process. ChatGPT suggested that multi-threading/parallel processing can help CPU bound process; However, I think that having ...
Sahil's user avatar
  • 149

15 30 50 per page
1
2 3 4 5
53