Will kernel thread run out of time slice?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello:

Will kernel thread run out of time slice and preempted by other thread?
I created some kernel thread on linux-2.6.16 by

kernel_thread(func, NULL, CLONE_FS | CLONE_SIGHAND);

void func()
{
for(;;)
printk("this is process %d\n",current->pid)
}

I expected the kernel threads switch but they did not.

Min-Hua

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux