Logo

Rowhammer Test by Google

Test DRAM for bit flips caused by the rowhammer problem.

"Rowhammer" is a problem with recent DRAM modules in which repeatedly accessing a row of memory can cause bit flips in adjacent rows. This code contains a program for testing for the rowhammer problem which runs as a normal userland process. A row hammering attempt involves picking two or more memory locations and then accessing them, uncached, repeatedly. If the locations are in different rows of DRAM but in the same bank, this will cause the rows to be activated repeatedly. It is these repeated row activations that can cause bit flips in adjacent rows.