LIBPAF(2015-08-06)

NAME
The Power Architecture Facilities - Program Priority Register

SYNOPSIS

#include <paf/ppr.h>

void paf_yield(void);

void paf_mdoio(void);

void paf_mdoom(void);

void paf_ppr_very_low(void);

void paf_ppr_low(void);

void paf_ppr_med_low(void);

void paf_ppr_med(void);

void paf_ppr_med_high(void);

DESCRIPTION
The Program Priority Register header ppr.h provides a mechanism to adjust the thread priorities based on lock acquisition, wait and release available on Power Architecture.

The function paf_yield() provides a hint that performance will probably be improved if shared resources dedicated to the executing processor are released for use by other processors.

The function paf_mdoio() provides a hint that performance will probably be improved if shared resources dedicated to the executing processor are released until all outstanding storage accesses to caching-inhibited storage have been completed.

The function paf_mdoom() provides a hint that performance will probably be improved if shared resources dedicated to the executing processor are released until all outstanding storage accesses to cacheable storage for which the data is not in the cache have been completed.

The function paf_ppr_very_low() sets the Program Priority Register to very low value. This is available from Power ISA 2.07.

The function paf_ppr_low() sets the Program Priority Register to low value.

The function paf_ppr_med_low() sets the Program Priority Register to medium low value.

The function paf_ppr_med() sets the Program Priority Register to medium value (default).

The function paf_ppr_med_high() sets the Program Priority Register to medium high value. This is available from Power ISA 2.07.

REFERENCES

Power ISA™ Version 2.05

Power ISA™ Version 2.06

Power ISA™ Version 2.06+

Power ISA™ Version 2.07

REPORTING BUGS

Email bug reports to Rajalakshmi S <raji@linux.vnet.ibm.com>.

AUTHORS
This manual page was written by Rajalakshmi S <raji@linux.vnet.ibm.com> and Adhemerval Zanella <azanella@linux.vnet.ibm.com>.