Okay.
Thanks!
Sorry, my fault.
How about last_offset -> last_end_off to reflect that it is the offset
of the last allocations end?
And last_succes -> hint_idx to reflect that it is an index we start
searching from but it is not strict and we fall back if we find nothing
starting from there. Also free_bootmem* sets it as a hint from where we
could start searching.
I also would set last_success/hint_idx to the _end_ of the successful
allocation (instead of the beginning of it) in alloc_bootmem_core
because we do not want to search for a new free block from the beginning
of the last allocation but rather right after it.
What do you think?
Hannes
--