Re: Question about x86/mm/gup.c's use of disabled interrupts
From: Jeremy Fitzhardinge
Date: Wed Mar 18 2009 - 19:37:42 EST
Shentino wrote:
But, does a CPU running a task in userspace effectively have a read
lock on the page tables?
No. A process has its own user pagetable which the kernel maintains on
its behalf. The kernel will briefly take locks on it while doing
modifications, mostly to deal with multithreaded usermode code running
on multiple cpus.
J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/