*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> write_const_data (9r)              



NAME    [Toc]    [Back]

       write_const_data  -  Modify kernel text or const data that
       is replicated across RADs on a NUMA platform

SYNOPSIS    [Toc]    [Back]

       #include <sys/systm.h>

       void write_const_data(
               void *source,
               const void *address,
               size_t nbytes );

PARAMETERS    [Toc]    [Back]

       Points to the starting address of the text to be  written.
       Points  to  the address where modification starts.  Specifies
 the number of bytes to be copied.

DESCRIPTION    [Toc]    [Back]

       The write_const_data() function modifies  kernel  text  or
       const  data that has been replicated in memory accessed by
       different CPUs. This function also ensures that the  modifications
 are visible to all CPUs by automatically notifying
 the CPUs of the change so that they  can  flush  stale
       data from their instruction caches.

       Starting with Tru64 UNIX Version 5.1, kernel programs must
       use write_const_data() to modify kernel  data  structures,
       such  as  the system call table. This requirement does not
       affect most kernel applications, which  typically  do  not
       modify replicated kernel text or const data.

[ Back ]
 Similar pages
Name OS Title
lockinfo Tru64 Displays kernel locking statistics for SMP and NUMA platforms
numa_types Tru64 Data types used by NUMA application interfaces
config OpenBSD build kernel compilation directories or modify a kernel
kenv FreeBSD dump or modify the kernel environment
kldconfig FreeBSD display or modify the kernel module search path
DL_DataModify Tru64 Modify persistent data record (CDSA)
CSSM_DL_DataModify Tru64 Modify persistent data record (CDSA)
cpu_get_num Tru64 Query CPU information for the platform (libc library)
gshmmod Tru64 GS series platform view and discovery daemon
cpu_get_max Tru64 Query CPU information for the platform (libc library)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service