9srv Manual Collection/plan9/segflush(2) | 9srv Manual Collection/plan9/segflush(2) |
---|
int segflush(void *va, ulong len)
Va is an address within the segment to be flushed; it is rounded down to the nearest page boundary. Len specifies the length in bytes of the memory to flush; va+len is rounded up to the nearest page boundary. Segflush works correctly when the memory straddles multiple segments.
Correct use of segflush depends on an understanding of the cache architecture of the specific machine.
9srv Manual Collection/plan9/segflush(2) | Rev: Sun Dec 02 23:42:18 GMT 2007 |