Cleaned up Mackerel explosion.
authorDavid Cock <david.cock@inf.ethz.ch>
Thu, 6 Apr 2017 15:04:59 +0000 (17:04 +0200)
committerDavid Cock <david.cock@inf.ethz.ch>
Thu, 6 Apr 2017 15:04:59 +0000 (17:04 +0200)
commit30d50968b9b8da469f8e30b91f24b7f2c8985fc4
tree92f566b0af4a416485599f118b42f0e8ed0207d3
parenta9be05702b8ff8487f2b054e51aa36ce137e4a04
Cleaned up Mackerel explosion.

A lot of our Haskell code is *seriously* inefficient.  Mackerel created arrays
n^2 in the size of the *device's address space* to check for overlapping
registers, and then walked them.  End result for Solarflare card was a >1TB
virtual address space for Haskell.

Signed-off-by: David Cock <david.cock@inf.ethz.ch>
tools/mackerel/RegisterTable.hs