Query: segflush
OS: plan9
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SEGFLUSH(2) System Calls Manual SEGFLUSH(2)NAMEsegflush - flush instruction and data cachesSYNOPSIS#include <u.h> #include <libc.h> int segflush(void *va, ulong len)DESCRIPTIONSegflush invalidates any instruction cache and writes back any data 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. Segflush works correctly when the memory straddles multiple seg- ments. Correct use of segflush depends on an understanding of the cache architecture of the specific machine.SOURCE/sys/src/libc/9syscallSEE ALSOsegattach(2), segbrk(2) /proc/*/segmentDIAGNOSTICSSets errstr. SEGFLUSH(2)
Related Man Pages |
---|
shmdt(2) - freebsd |
cache(3) - mojave |
shmat(2) - debian |
brk(2) - plan9 |
sys_dcache_flush(3) - osx |
Similar Topics in the Unix Linux Community |
---|
What's your most useful shell? |
PHP Write Man Pages to MySQL DB |
Shopt -s histappend |