| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
We can drop the whole allocator without freeing the ptrlist one by one.
Signed-off-by: Christopher Li <sparse@chrisli.org>
|
|
|
|
|
|
|
| |
Free the last entry when the whole list gets empty.
Signed-off-by: Alecs King <alecsk@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
|
|
|
|
|
|
| |
It's like 'delete_ptr_list_last()', except it doesn't de-allocate the
ptrlist block that it removes the last entry from. Useful when you know
you're going to add things back (ie basic block tail rewriting), and
when you can't afford to de-allocate the ptrlist because you're in a
loop.
|
|
They rate their own "ptrlist" library status, since they are
definitely potentially useful outside of sparse.
|