"Eric W. Biederman" wrote:

The tricky part comes when switching from one phase to another,

> because you need to ditch you bss, data, and stack that were living in
> the facked ram of cache blocks.

couldn't you do scan and do a read, inc/dec the value, then write
it back, making it get re-written to sdrams that are now configured
to hold the data?  just trick the cache into thinking they're dirty.
maybe you could even increment in cache lines
not bytes, doesn't the cache logic read/flush
whole lines?  just touch the first byte of each
cache line.

Reply via email to