Re: [patch 0/2] x86: NMI-safe trap handlers

Tejun Heo
2010-07-14T23:29:30Z

Hello,

On 07/14/2010 08:56 PM, Andi Kleen wrote:
> On Wed, Jul 14, 2010 at 01:08:05PM -0400, Mathieu Desnoyers wrote:
>> * Andi Kleen (andi@firstfloor.org) wrote:
>>>> x86_32 cannot use vmalloc_sync_all() to sychronize the TLBs from
>>>> every processes because the vmalloc area is mapped in a different
>>>> address space for
>>> That doesn't make sense. vmalloc_all_sync() should work on 32bit
>>> too. It just needs to walk all processes and fix up every page
>>> table.

Yeah, vmalloc_sync_all() synchronizes everything by walking every page
table, so it should work. I was saying that just flushing TLB
wouldn't cut it because multiple top level page table entries can be
used to map vmalloc areas. It seems that both 32 and 64bit does that
tho.

Thanks.

--
tejun