| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | free_list: Update header sizes when coalescing free blocks | Douglas B. Rumbaugh | 2025-11-02 | 1 | -0/+1 |
| | | |||||
| * | Defined allocator behavior for 0 byte requests | Douglas B. Rumbaugh | 2025-11-02 | 1 | -0/+5 |
| | | |||||
| * | Ran clangtidy | Douglas B. Rumbaugh | 2025-11-02 | 2 | -14/+12 |
| | | |||||
| * | Added splitting and some basic testing for it | Douglas B. Rumbaugh | 2025-11-02 | 1 | -1/+16 |
| | | |||||
| * | Cleaned up code for adding to the free list | Douglas B. Rumbaugh | 2025-11-02 | 1 | -17/+11 |
| | | |||||
| * | free_list: partial split implementation | Douglas B. Rumbaugh | 2025-11-02 | 2 | -3/+19 |
| | | | | | | | | Implemented enough of split to get basic free list reuse working. Also updated the allocate() function to return the output of split when it is called. | ||||
| * | free_list.c: Free list size bugfix | Douglas B. Rumbaugh | 2025-11-02 | 1 | -1/+1 |
| | | | | | | I wasn't setting the size of the free list node correctly due to an operating precedence mixup. | ||||
| * | Added an interface to access free list and updated tests to use it | Douglas B. Rumbaugh | 2025-11-02 | 1 | -0/+4 |
| | | |||||
| * | alloc.c: releasing NULL now works | Douglas B. Rumbaugh | 2025-11-02 | 1 | -0/+4 |
| | | | | | | | | | | My initial free list implementation revealed a bug that I wasn't handling release(NULL) correctly, resulting in a segfault. After this commit, all existing tests pass for liballoc. | ||||
| * | Initial implementation of free list functions | Douglas B. Rumbaugh | 2025-11-02 | 1 | -5/+42 |
| | | | | | | Implemented (but haven't tested) adding nodes to the free list and coalescing them. | ||||
| * | Updated free list interface | Douglas B. Rumbaugh | 2025-11-02 | 1 | -9/+3 |
| | | | | | | | | | | | I realized my existing interface wouldn't work if the coalescing or adding of a new node replaced the head of the list, as there was no way to communicate that back to the caller. As a result, I've updated those interfaces to accept a pointer to the free list head pointer. This will let them change the free list head in alloc.c if necessary. | ||||
| * | Intial commit: No free list management yet | Douglas B. Rumbaugh | 2025-11-02 | 2 | -0/+109 |