Re: [PATCH] 2.4.19-pre8 vm86 smp locking fix

Benjamin LaHaise (bcrl@redhat.com)
Thu, 23 May 2002 17:57:08 -0400


On Thu, May 23, 2002 at 11:36:23PM +0200, Kasper Dupont wrote:
> The pagetable access in arch/i386/kernel/vm86.c is related
> to another access in arch/i386/mm/fault.c. Did anybody
> verify that the other file does correct locking?

That should be safe: the vmalloc pgds can only be filled from the
main kernel page table. They never change afterwards, so even if
two CPUs entered that code at the same time it would be okay.

-ben

-- 
"You will be reincarnated as a toad; and you will be much happier."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/