Re: Kernel preemption -- demo does not work

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

 



Hi Bernhard 

> I have a simple kernel module with a 10 seconds loop in the
> init_module() function. This function should be preemptible because
> it's the insmod process in the init_module system call.
>
> But another process with SCHED_FIFO (prio 99) isn't run until the
> init function exits.

First of all, what is your kernel version? And, are you sure you have 
enabled the kernel level preemption (CONFIG_PREEMPT if I remember 
correctly)? 

regards

Mulyadi


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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