Hi Alexey, I came across this: for (order = max(min_order, (unsigned int)get_order(min_objects * size + reserved)); Do you want to work on making get_order() return an unsigned int? Also, I think get_order(0) should probably be 0, but you might develop a different feeling for it as you work your way around the kernel looking at how it's used.