From: Victor Porton <porton@ex-code.com>
To: Avi Kivity <avi@argo.co.il>
Cc: linux-kernel@vger.kernel.org, Jesper Juhl <jesper.juhl@gmail.com>
Subject: Re: New reliability technique
Date: Sun, 26 Feb 2006 16:34:59 +0500 (YEKT) [thread overview]
Message-ID: <E1FDKB1-0001GK-00@porton.narod.ru> (raw)
In-Reply-To: <4400B562.6020203@argo.co.il>
On 25-Feb-2006 Avi Kivity wrote:
> Jesper Juhl wrote:
...
>>>On 2/25/06, Victor Porton <porton@ex-code.com> wrote:
>>>
>>>
>>>>In idle cycles (or periodically in expense of some performance) Linux can
>>>>calculate MD5 or CRC sums of _unused_ (free) memory areas and compare these
>>>>sums with previously calculated sums.
>>>>
>>>>Additionally it can be done for allocated memory, if it will be write
>>>>protected before the first actual write. Moreover, all memory may be made
>>>>write-protected if it is not written e.g. more than a second. (When it
>>>>is written kernel would unlock it and allow to write, by a techniqie like
>>>>to how swap works.) If write-protected memory appears to be modified by
>>>>a check sum, this likewise indicates a bug.
>>>>
>>>>If a sum is inequal, it would notice a bug in kernel or in hardware.
>>>>
>>>>I suggest to add "Check free memory control sums" in config.
> No, they don't. They cover only a very small percentage of memory.
>
> On the other hand, ECC memory and caches do this in hardware.
Isn't it better to double check (especially after such risky things as
e.g. software suspend)?
We need to check not only for damaged hardware, but also for
kernel/modules bugs. For this ECC and cache reliability is useless.
--
Victor Porton (porton@ex-code.com) - http://porton.ex-code.com
next prev parent reply other threads:[~2006-02-26 11:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-25 13:21 Victor Porton
2006-02-25 13:26 ` Jesper Juhl
2006-02-25 13:27 ` Jesper Juhl
2006-02-25 19:52 ` Avi Kivity
2006-02-25 19:56 ` Jesper Juhl
2006-02-25 22:44 ` Janos Farkas
2006-02-26 11:34 ` Victor Porton [this message]
2006-02-26 12:25 ` Pekka Enberg
2006-02-26 12:30 ` Nick Piggin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1FDKB1-0001GK-00@porton.narod.ru \
--to=porton@ex-code.com \
--cc=avi@argo.co.il \
--cc=jesper.juhl@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®