RE: preemptive kernels and the use of smp_processor_id()

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

 



Hi Valdis,

Understood.

>> I though preemptible only means that a process can only be preempted 
>> (not moved to another core) under following situations:

>> 1) An interrupt happens (In case of timer, it could put the process back in queue if its time slice expired).

>Actually, in case of any interrupt, be it timer or I/O or NMI or whatever.

So, essentially a scheduler can kick in while returning from ANY sort of interrupt (and not just timer interrupt), right?

Thanks,

Rajat



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[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