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

Kasper Dupont (kasperd@daimi.au.dk)
Thu, 23 May 2002 23:36:23 +0200


Benjamin LaHaise wrote:
>
> arch/i386/kernel/vm86.c performs page table operations without obtaining
> any locks. This patch obtains page_table_lock around the the table walk
> and modification.

This patch can also be applied against 2.4.19-pre8-ac5.
The patch command does report:
patching file arch/i386/kernel/vm86.c
Hunk #1 succeeded at 124 (offset 27 lines).

Since this missing lock is completely unrelated to the
other bugfixes in vm86 I don't expect any bad interactions.

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?

-- 
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:razor-report@daimi.au.dk
-
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/