Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6344267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:36:04+00:00 2026-05-24T20:36:04+00:00

How come storage allocators use a circular linked list to store allocated/ free addresses

  • 0

How come storage allocators use a circular linked list to store allocated/ free addresses instead of a balanced tree? Traversing a linked list would require O(n) order of complexity whereas a balanced tree could be traversed in O(logn), right? What’s the advantage / reasoning behind it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T20:36:04+00:00Added an answer on May 24, 2026 at 8:36 pm

    The premise (“storage allocators use a circular linked list to store allocated/ free addresses”) is not necessarily true. It might be true for some allocators, but it’s not true in general.

    If the allocator uses a linked-list-like structure to keep track of blocks of memory, it’s often embedded as meta data in the memory blocks themselves – ie. not as a separate data structure on the side.

    For example, each block of memory could start with the status (free/allocated), and the size of the block. This approach basically implements a linked list (using the size, you can easily determine the start address of the next block), but it has other properties that a linked list doesn’t have : you can still find a specific memory block (node) by knowing its memory address.

    So, you’d have an O(1) access time (because you, or the compiler, knows the memory address of the block of memory). Merging neighboring free blocks is also straightforward. If it’s necessary to run some kind of de-fragmentation or compaction algorithm, that can be done using the linked-list-like structure. Finding a free block of sufficient size can be done using the linked-list-like structure too (although sometimes a second embedded linked list is used for free blocks specifically, to minimize the overhead of allocation functions).

    Of course, this is just one possible approach to the problem. But it goes to show that using a linked list is not necessarily a worse choice than another data structure.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How come this doesn't work (operating on an empty select list <select id=requestTypes></select> $(function()
I come from a mainly PHP background and make good use of the Apache
Every sample I come across has the entities and properties in the storage model
I am trying to come out with a good design for the storage of
I've been suggested to use Mappers to separate object storage in db from real
Come across what looks at first sight like an MT-issue, but I'm trying to
I come from a Java background, where packages are used, not namespaces. I'm used
I come from the Microsoft world (and I come in peace). I want to
I come across this problem when i am writing an event handler in SharePoint.
I come from a .NET world and I'm new to writting C++. I'm just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.