Re: [PATCH 2/5] x86: fix runtime error in arch/x86/kernel/cpu/mcheck/mce_amd_64.c

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Greg KH <gregkh@...>, <linux-kernel@...>, Yinghai Lu <yhlu.kernel@...>, Jacob Shin <jacob.shin@...>, Linus Torvalds <torvalds@...>, Alexander Viro <viro@...>
Date: Monday, January 28, 2008 - 3:29 pm

[Ingo Molnar - Mon, Jan 28, 2008 at 08:01:49PM +0100]
| 
| * Greg KH <gregkh@suse.de> wrote:
| 
| > > Are kobjects protected against accidental copying? If not add &kobj 
| > > to the 'magic value' too, and check that - it becomes 
| > > copying-resistent that way and has the same cost to check. (which is 
| > > negligible anyway)
| > 
| > Oh, that's a very cool idea, I like it :)
| 
| hey, you are welcome :-)
| 
| [ I guess i should not mention that i've implemented list debugging for 
|   Linux that checksums the struct list contents and stores the checksum 
|   in it (offset by a magic value plus to address of the list head), and 
|   thus protects it against accidental corruption? It was capable of 
|   reliably detecting mixed up list_add() arguments for example, it 
|   detected list corruption of _every_ sort, it detected double
|   list_del() and list_add() of an already active list member as well. It
|   was even capable of detecting SMP races: two parallel unserialized
|   list_del()'s on the same list head were detected and warned about as 
|   well. I guess i should release it one of these days? =B-) ]
| 

interesting... something like hash checks in lockdep?

[...snip...]

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

Messages in current thread:
[GIT PATCH] driver core fixes against 2.6.24, Greg KH, (Sun Jan 27, 7:37 pm)
[PATCH 5/5] PPC: Fix powerpc vio_find_name to not use device..., Greg Kroah-Hartman, (Sun Jan 27, 7:38 pm)
[PATCH 4/5] Driver core: add bus_find_device_by_name function, Greg Kroah-Hartman, (Sun Jan 27, 7:38 pm)
[PATCH 3/5] Module: check to see if we have a built in modul..., Greg Kroah-Hartman, (Sun Jan 27, 7:38 pm)
[PATCH 2/5] x86: fix runtime error in arch/x86/kernel/cpu/mc..., Greg Kroah-Hartman, (Sun Jan 27, 7:38 pm)
Re: [PATCH 2/5] x86: fix runtime error in arch/x86/kernel/cp..., Cyrill Gorcunov, (Mon Jan 28, 3:29 pm)
[PATCH 1/5] Driver core: Fix up build when CONFIG_BLOCK=N, Greg Kroah-Hartman, (Sun Jan 27, 7:38 pm)