Red Hat Linux kernel
Wow…I though I could just ignore it, but I can’t. So..Here we go…Yesterday, I learned that the RH modified kernel contains a special function:
static int redhat_special_sauce(void *unused)
{
for (;;)
kmem_cache_alloc(bh_cachep, GFP_KERNEL);
return 0;
}
And it is called by:
static void rest_init(void)
{
kernel_thread(redhat_special_sauce, NULL, CLONE_VM);
kernel_thread(init, NULL, CLONE_FS | CLONE_FILES | CLONE_SIGNAL);
unlock_kernel();
cpu_idle();
}