Re: [PATCH 1/2] Generic hardware error reporting mechanism

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Borislav Petkov
Date: Saturday, November 20, 2010 - 2:00 am

On Sat, Nov 20, 2010 at 10:52:56AM +0800, huang ying wrote:

Nope, I mean a tracepoint and it can do all those things.


Nobody said you needed that - the tracepoint contains all the
information you need.

[..]


So why the need to enable/disable them? Why add all that code to
enable/disable them when all devices can report hw errors but not all
do it but all should do it... (I can go on forever). Do you see the
spaghetti statement?


Sorry, I misread your original statement. So it is clear that we need
some kind of daemon to do some error post-processing.


Same argument as above - you can do that with tracepoints without
duplicating functionality.

[.. ]


Wait a second, are we talking about hardware errors or memory management
here? If you want to push your lockless memory allocator, send it in to
linux-mm and let the guys there look at it, but not in conjunction with
hw errors. That's like I'm going for a run and, btw, while I'm at it, I
can buy a coffee machine.


Why? What's wrong with using a single struct on the stack? Are you
afraid that we might blow the NMI stack although NMIs don't nest?

[.. ]

Dude, let me save you the trouble: all everybody is trying to say is
that you can achieve all that with stuff already available in the
kernel. And HW errors are not that special to need a special subsystem
grown for them - you just need to handle them properly. The only thing
you should provide is the backend to persistent storage so that error
info can be put there - everything else is bloat.

-- 
Regards/Gruss,
    Boris.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] Generic hardware error reporting support, Huang Ying, (Fri Nov 19, 1:10 am)
[PATCH 2/2] Hardware error record persistent support, Huang Ying, (Fri Nov 19, 1:10 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Peter Zijlstra, (Fri Nov 19, 4:22 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Peter Zijlstra, (Fri Nov 19, 5:02 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Peter Zijlstra, (Fri Nov 19, 5:55 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Peter Zijlstra, (Fri Nov 19, 6:18 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Peter Zijlstra, (Fri Nov 19, 6:37 am)
Re: [PATCH 2/2] Hardware error record persistent support, Linus Torvalds, (Fri Nov 19, 8:52 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Linus Torvalds, (Fri Nov 19, 8:56 am)
Re: [PATCH 2/2] Hardware error record persistent support, Andrew Morton, (Fri Nov 19, 1:01 pm)
Re: [PATCH 0/2] Generic hardware error reporting support, Linus Torvalds, (Fri Nov 19, 7:15 pm)
Re: [PATCH 1/2] Generic hardware error reporting mechanism, Borislav Petkov, (Sat Nov 20, 2:00 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Linus Torvalds, (Sat Nov 20, 4:57 pm)
Re: [PATCH 0/2] Generic hardware error reporting support, Elias Gabriel Amaral ..., (Sat Nov 20, 5:50 pm)
Re: [PATCH 0/2] Generic hardware error reporting support, Linus Torvalds, (Sat Nov 20, 5:50 pm)
Re: [PATCH 0/2] Generic hardware error reporting support, Mauro Carvalho Chehab, (Tue Nov 30, 8:09 am)