Skip to contentSkip to conversation

active_mm & SMP & TLB flush: possible bug

DISCUSSION Manfred Spraul 1 participant 1 message Jul 28, 1999 Memory management

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines
Quoted 7 lines

BTW, where can I find more details about the active_mm implementation? specifically, I'd like to know why active_mm was added to "struct task_struct".

Quoted 1 line

From my first impression, it's a CPU specific information

(every CPU has exactly one active_mm, threads which are not running have no
active_mm), so I'd have used a global array[NR_CPUS].

That soulds like a good idea -- care to offer a patch? =)

I still try to understand the current implementation, and I can't propose a patch before I understand the current code...

I'll try to write a patch over the weekend.

Manfred

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/