Re: [PATCH] kmemcheck: SMP support

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Vegard Nossum <vegard.nossum@...>
Cc: Pekka Enberg <penberg@...>, <linux-kernel@...>, Pekka Paalanen <pq@...>
Date: Monday, May 26, 2008 - 5:11 am

* Vegard Nossum <vegard.nossum@gmail.com> wrote:


hey i kept mixing that up myself, until i had to fix a bug in it once.


just to make sure: this is an optional "would be really cool" thing. It 
does not impact the mergability of kmemcheck in any way. [ It impacts 
the _usability_ of it :-) ]


i tried to implement it once for 4G:4G split kernel. My early results 
indicated that especially on PAE there was a significant SMP speedup 
from it. I have not gone down that path so i dont know it for sure, but 
perhaps it was because the CPU sets the accessed bit in kernel PTEs and 
dirties those cachelines which creates overhead on SMP. That happened 
even if there was no kernel pagetable remapping activities. (That was 
many years ago and newer CPUs might be better at it though.)


even if mmiotrace were just a hacking too (but mmiotrace is a system 
diagnostics tool as well), that could still be a strong reason to do it.

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] kmemcheck: SMP support, Vegard Nossum, (Fri May 23, 10:17 am)
Re: [PATCH] kmemcheck: SMP support, Johannes Weiner, (Fri May 23, 12:09 pm)
Re: [PATCH] kmemcheck: SMP support, Vegard Nossum, (Fri May 23, 1:10 pm)
Re: [PATCH] kmemcheck: SMP support, Jeremy Fitzhardinge, (Fri May 23, 11:40 am)
Re: [PATCH] kmemcheck: SMP support, Vegard Nossum, (Fri May 23, 11:51 am)
Re: [PATCH] kmemcheck: SMP support, Jan Kiszka, (Fri May 23, 1:12 pm)
Re: [PATCH] kmemcheck: SMP support, Vegard Nossum, (Fri May 23, 1:32 pm)
Re: [PATCH] kmemcheck: SMP support, Jeremy Fitzhardinge, (Fri May 23, 4:54 pm)
Re: [PATCH] kmemcheck: SMP support, Jan Kiszka, (Fri May 23, 1:54 pm)
Re: [PATCH] kmemcheck: SMP support, Ingo Molnar, (Fri May 23, 11:06 am)
Re: [PATCH] kmemcheck: SMP support, Vegard Nossum, (Fri May 23, 11:30 am)
Re: [PATCH] kmemcheck: SMP support, Avi Kivity, (Mon May 26, 5:29 am)
Re: [PATCH] kmemcheck: SMP support, Ingo Molnar, (Mon May 26, 5:11 am)
Re: [PATCH] kmemcheck: SMP support, Jeremy Fitzhardinge, (Fri May 23, 12:13 pm)