Posts Tagged ‘Linux kernel init calls’

kernel __init calls

Thursday, November 29th, 2012


The Linux kernel uses a clever and well-optimized mechanism for calling initialization code in drivers and kernel services using __init calls . It’s clever because its functionality is largely abstracted from the driver developer, and it’s well-optimized because after initialization, memory containing the initialization code is released. This article explores how this mechanism works.