ioctl() returns EFAULT / MMU domain problem?
Russell King - ARM Linux
linux at arm.linux.org.uk
Tue Jan 19 03:28:49 EST 2010
On Tue, Jan 19, 2010 at 03:35:23PM +0900, Koyo Takenoshita wrote:
> > On context switches, the domain register is reloaded from cpu_domain,
> > so it will be preserved across context switches for the same thread;
> > if it wasn't, kernel boot wouldn't work (because the kernel boot uses
> > KERNEL_DS to be able to call execve(), open(), etc.)
> Would you please tell me where the context switch is done in kernel code?
> And, Is there any other point to change the domain register?
See __switch_to in arch/arm/kernel/entry-armv.S
More information about the linux-arm-kernel
mailing list