Messages in this thread | | | Subject | Re: [PATCH 03/20] x86, mce: Add persistent MCE event | From | Peter Zijlstra <> | Date | Thu, 11 Nov 2010 16:38:50 +0100 |
| |
On Thu, 2010-11-11 at 14:34 +0100, Borislav Petkov wrote: > 3) enable the persistent event and stash its fd in some /sysfs member > which the RAS daemon reads out and mmaps. This last one actually sounds > pretty neat.
Right, stashing the thing in sysfs, which you can open()+mmap() seems the best way. Not sure you want to make it a RAS specific place, maybe a generic persistent buffer place.
You'll get multiple files anyway, one per cpu, so maybe something like:
/sysfs/persistent_buffer/ras[0..n]
| |