Re: [PATCH v2 1/3] memory: add a sparse memory device for fuzzing

2021-03-15 Thread Alexander Bulekov
On 210315 1209, Darren Kenny wrote: > Hi Alex, > > On Saturday, 2021-03-13 at 18:18:57 -05, Alexander Bulekov wrote: > > For testing, it can be useful to simulate an enormous amount of memory > > (e.g. 2^64 RAM). This adds an MMIO device that acts as sparse memory. > > When something writes a nonz

Re: [PATCH v2 1/3] memory: add a sparse memory device for fuzzing

2021-03-15 Thread Darren Kenny
Hi Alex, On Saturday, 2021-03-13 at 18:18:57 -05, Alexander Bulekov wrote: > For testing, it can be useful to simulate an enormous amount of memory > (e.g. 2^64 RAM). This adds an MMIO device that acts as sparse memory. > When something writes a nonzero value to a sparse-mem address, we > allocate

Re: [PATCH v2 1/3] memory: add a sparse memory device for fuzzing

2021-03-14 Thread Alexander Bulekov
On 210313 1818, Alexander Bulekov wrote: > For testing, it can be useful to simulate an enormous amount of memory > (e.g. 2^64 RAM). This adds an MMIO device that acts as sparse memory. > When something writes a nonzero value to a sparse-mem address, we > allocate a block of memory. This block is k

[PATCH v2 1/3] memory: add a sparse memory device for fuzzing

2021-03-13 Thread Alexander Bulekov
For testing, it can be useful to simulate an enormous amount of memory (e.g. 2^64 RAM). This adds an MMIO device that acts as sparse memory. When something writes a nonzero value to a sparse-mem address, we allocate a block of memory. This block is kept around, until all of the bytes within the blo