Re: [PATCH 3/3] ia64: Call migration code on correctable errors v2
From: Andi Kleen
Date: Fri May 02 2008 - 13:46:16 EST
Russ Anderson <rja@xxxxxxx> writes:
> Migrate data off pages with correctable memory errors. This patch is the
> ia64 specific piece. It connects the CPE handler to the page migration
> code. It is implemented as a kernel loadable module, similar to the mca
> recovery code (mca_recovery.ko). This allows the feature to be turned off
> by uninstalling the module. Creates /proc/badram to display bad page
> information and free bad pages.
How do you know what pages have excessive errors? And how is excessive defined?
Surely you don't keep a per page error count? It's unclear from your patch.
Anyways I don't think this should be ia64 specific, but generic code.
I also have my doubts about making such small code subsystems modules. Modules
always get rounded to pages so it ultimatively just wastes memory.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/