Test code for linux kernel