I listened to a lecture once and the presenter mentioned that these mushrooms aren’t actually gilled and are actually pored mushrooms in the order Boletales that evolved gill-like structures.