What is the buddy system of memory allocation in operating system (os)?
Answer / Neha Mishra
The buddy system is a method of memory allocation in an operating system where large blocks of free memory are divided into smaller, fixed-size 'buddy' blocks. Each buddy block has a buddy of nearly double its size. When a request for memory comes, the system searches for the smallest available buddy block that can satisfy the request and splits it if necessary. If the request is too large, the system combines smaller buddy blocks until it can find one large enough. This method minimizes fragmentation and improves overall memory utilization.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are necessary conditions which can lead to a deadlock situation in a system?
Is faster ram worth it?
Explain the resident set and working set of a process?
Do you know what is a binary semaphore? What is its use?
When does the belady's anomaly occur?
What are threads in OS?
Which program files folder is 64 bit?
Will chkdsk repair corrupt files?
Why are wait states used?
Does android run on x86?
How many registers does x86 have?
What is significance of semaphores? What are the different types of semaphores?