This is a follow up question from my previous question.
Based on the answer, a system call is an example of when we jump into kernel part of virtual memory of our process.
What are other examples of a normal process (non kernel) using this part of virtual memory other than system calls? like is there any function call that directly jumps into this kernel part or..?
When we jump into this section of memory, does the processor automatically set the kernel mode bit to 1 in order for our process to access this part or there is no need to set this bit?
Does all of the execution inside of this kernel part happen without any need for context switching to a kernel process?
(I didn't want to ask these follow up questions on comments so I opened another thread.)
arch/x86/entry
:entry_32.S
for 32-bit x86,entry_64_compat.S
for 32-bit compatibility on 64-bit x86, andentry_64.S
for 64-bit x86. – Stephen Kitt Oct 08 '18 at 09:08