What is Buddy system of memory allocation?
Submitted by: AdministratorFree memory is maintained in linked lists, each of equal sized blocks. Any such block is of size 2k. When some memory is required by a process, the block size of next higher order is chosen, and broken into two. Note that the two such pieces differ in address only in their kth bit. Such pieces are called buddies. When any used block is freed, the OS checks to see if its buddy is also free. If so, it is rejoined, and put into the original free-block linked-list.
Submitted by:
Submitted by:
Read Online Microcomputers Job Interview Questions And Answers
Top Microcomputers Questions
☺ | Explain Why did you choose to design the computer around the MOS Technologies 6502 microprocessor? |
☺ | Explain When did you first show it to Hermann Hauser? |
☺ | You were an undergraduate student at Cambridge then. Explain what were you studying? |
☺ | Explain Why did you use the RAM I/O chip, instead of a UART or something similar, when the machine had separate RAM? |
☺ | Is there No bugs in the monitor program? |
Top Computer Basics Categories
☺ | Computer Firewall Interview Questions. |
☺ | Microcomputers Interview Questions. |
☺ | Minicomputers Interview Questions. |
☺ | Professional Graphic Designer Interview Questions. |
☺ | In Charge Of Computer Science Department Interview Questions. |