Re: [PATCH 2/4] mce-inject: use individual members instead of structmce

From: Hidetoshi Seto
Date: Fri Oct 09 2009 - 03:19:40 EST


Huang Ying wrote:
> On Fri, 2009-10-09 at 13:45 +0800, Hidetoshi Seto wrote:
>> struct mce have many members and almost half of them are not used
>> for mce injection. So make struct mce_fake_banks to have required
>> members instead of having struct mce in it.
>
> I don't think this is necessary. struct mce works fine.

Why do you think so?
I think having unused space in precious per-CPU is not good idea.

And this change is required to reduces the size of allocation unit
in later patch to support multiple error injection.


Thanks,
H.Seto

--
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/