Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1605183

Re: [PATCH 3/4] RAS: Add a Corrected Errors Collector

From "Luck, Tony" <tony.luck@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/4] RAS: Add a Corrected Errors Collector
Date 2017-03-20 23:50 +0100
Message-ID <tnehH-2Ul-5@gated-at.bofh.it> (permalink)
References <tj3kS-3Nk-5@gated-at.bofh.it> <tj3XB-43h-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Mar 09, 2017 at 11:08:17AM +0100, Borislav Petkov wrote:
> +config RAS_CEC
> +	bool "Correctable Errors Collector"
> +	depends on X86_MCE && MEMORY_FAILURE && DEBUG_FS
> +	---help---
> +	  This is a small cache which collects correctable memory errors per 4K
> +	  page PFN and counts their repeated occurrence. Once the counter for a
> +	  PFN overflows, we try to soft-offline that page as we take it to mean
> +	  that it has reached a relatively high error count and would probably
> +	  be best if we don't use it anymore.

You added "count_threshold" for me ... so the condition isn't quite "overflows"
like it was in the early versions.

We may need to give some thought on what to do if the attempt to offline
the page fails (e.g. because the page belongs to the kernel). Right now
you delete it from the list, but we will see more errors as the page is
still in use. Eventually the counter will hit count_threshold and we will
try to offline again. Rinse, repeat.

Someone also recently sent me a log from a machine with corrected errors
in over 9000 unique addresses. Need a parameter to allocate more than one
page for the collector, or a way to grow the space.

-Tony

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 3/4] RAS: Add a Corrected Errors Collector "Luck, Tony" <tony.luck@intel.com> - 2017-03-20 23:50 +0100
  Re: [PATCH 3/4] RAS: Add a Corrected Errors Collector Borislav Petkov <bp@alien8.de> - 2017-03-22 19:10 +0100
    Re: [PATCH 3/4] RAS: Add a Corrected Errors Collector Borislav Petkov <bp@alien8.de> - 2017-03-23 16:30 +0100
      Re: [PATCH 3/4] RAS: Add a Corrected Errors Collector "Luck, Tony" <tony.luck@intel.com> - 2017-03-23 18:30 +0100
        Re: [PATCH 3/4] RAS: Add a Corrected Errors Collector Borislav Petkov <bp@alien8.de> - 2017-03-23 18:30 +0100
          Re: [PATCH 3/4] RAS: Add a Corrected Errors Collector "Luck, Tony" <tony.luck@intel.com> - 2017-03-23 19:30 +0100
            Re: [PATCH 3/4] RAS: Add a Corrected Errors Collector Borislav Petkov <bp@alien8.de> - 2017-03-24 12:10 +0100

csiph-web