Linux ARM, does schedule() jumps to user space ?

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

 



Hi,

A very basic question.
AFAIK schedule() selects the next process to run.
Now once it has selected the process, and say if the process is a user
space or kernel space one. how does the switch to user happens,

a) Is it in schedule function . it has to be a arch level function
called from schedule()

b) or Else where, so is there a umberlla function like

somefunc()
{
task_ptr = schedule();
switch_to(task_ptr)

...

}

Can someone explain this

_______________________________________________
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