diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-28 22:37:59 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-06-11 16:23:44 (GMT) |
commit | fd63312dfe70b8279618b4d77dc951b6e309ffa2 (patch) | |
tree | a6a4012398f8977d7059d3dd6e85c120c4fc50fd /fs | |
parent | 452a6bf955ee1842361742833e40e046287308f4 (diff) | |
download | linux-fd63312dfe70b8279618b4d77dc951b6e309ffa2.tar.xz |
edac: Move grain/dtype/edac_type calculus to be out of channel loop
The 3e7bddc changeset (edac: move dimm properties to struct memset_info)
moved the calculus inside a loop. However, at those stuff are common to
all channels, on several drivers, it is better to put the calculus
outside the loop, to optimize the code.
Reported-by: Aristeu Rozanski Filho <arozansk@redhat.com>
Reviewed-by: Aristeu Rozanski <arozansk@redhat.com>
Cc: Mark Gross <mark.gross@intel.com>
Cc: Doug Thompson <norsk5@yahoo.com>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions