logo

CuriousTab

CuriousTab

Discussion


Home Technical Questions Operating Systems Comments

  • Question
  • Describe the Buddy system of memory allocation.


  • Correct Answer
  • Free memory is maintained in linked lists, each of equal sized blocks Any such block is of size 2^k 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 


  • Operating Systems problems


    Search Results


    • 1. What are turnaround time and response time?
    • Discuss
    • 2. What is multi tasking, multi programming, multi threading?
    • Discuss
    • 3. Which memory management technique involves dividing the memory into fixed sized blocks ?

    • Options
    • A. Paging
    • B. Scaling
    • C. Whiping
    • D. Tracking
    • Discuss
    • 4. A Map is an Array,which contains the addresses of the free space in swap device that are allocatable resources,and the number of the resource unit available there.

    • Options
    • A. TRUE
    • B. FALSE
    • Discuss
    • 5. How can you get/set an environment variable from a program?
    • Discuss
    • 6. What is time-stamping?
    • Discuss
    • 7. How are the wait/signal operations for monitor different from those for semaphores?
    • Discuss
    • 8. What has triggered the need for multitasking in PCs?
    • Discuss
    • 9. What are the four layers that Windows NT have in order to achieve independence?
    • Discuss
    • 10. What is SMP?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment