[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <36478.1397358483@turing-police.cc.vt.edu>
Date: Sat, 12 Apr 2014 23:08:03 -0400
From: Valdis.Kletnieks@...edu
To: Alexander.Kleinsorge@....de
Cc: linux-kernel@...r.kernel.org
Subject: Re: new module to check constant memory for corruption
On Sun, 13 Apr 2014 03:33:10 +0200, Alexander.Kleinsorge@....de said:
> printk(KERN_EMERG MODNAME "error: const kernel memory is broken (%08lx != 0), please reboot!", g_SumLast);
Make a list of all the things that can dynamically modify kernel text while
it's running, starting with the alternatives code, and adding in the various
tracing and debugging tools, and ask yourself if KERN_EMERG is the right
choice here...
Also, that printk is in the wrong place - it only fires if somebody reads
the /proc file, and it *should* trigger as soon as practical after a
problem has been detected.
Bonus points for computing what percent of single, double, triple, and
other error syndromes your xor detects (hint - what is the behavior of a
dead row or column of bits?).
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists