SEGFLUSH(2)
NAME
segflush - flush segment memory cache
SYNOPSIS
intsegflush(void ∗va, ulong len)
DESCRIPTION
Segflush flushes the instruction cache associated with pages contained in a segment. All subsequent new pages in the segment will also be flushed when first referenced.
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.
SEE ALSO
segattach(2), segbrk(2)
/proc/∗/segment
DIAGNOSTICS
Sets errstr.
Plan 9 — January 03, 1993