SEGFLUSH man page on Plan9

Man page or keyword search:  
man Server   549 pages
apropos Keyword Search (all sections)
Output format
Plan9 logo
[printable version]

SEGFLUSH(2)							   SEGFLUSH(2)

NAME
       segflush - flush instruction and data caches

SYNOPSIS
       #include <u.h>
       #include <libc.h>

       int  segflush(void *va, ulong len)

DESCRIPTION
       Segflush	 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 segments.

       Correct use of segflush depends on an understanding of the cache archiā€
       tecture of the specific machine.

SOURCE
       /sys/src/libc/9syscall

SEE ALSO
       segattach(2), segbrk(2)
       /proc/*/segment

DIAGNOSTICS
       Sets errstr.

								   SEGFLUSH(2)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net