1__PPC_YIELD(3)             Linux Programmer'sManual             __PPC_YIELD(3)
2
3
4

NAME

6       __ppc_yield,  __ppc_mdoio,  __ppc_mdoom - Hint the processor to release
7       shared resources
8

SYNOPSIS

10       #include <sys/platform/ppc.h>
11
12       void __ppc_yield(void);
13       void __ppc_mdoio(void);
14       void __ppc_mdoom(void);
15

DESCRIPTION

17       These functions provide hints about the usage  of  resources  that  are
18       shared  with  other  processors on the Power architecture.  They can be
19       used, for example, if a program waiting on a lock intends to divert the
20       shared resources to be used by other processors.
21
22       __ppc_yield()  provides  a  hint  that  performance  will  probably  be
23       improved if shared resources dedicated to the executing  processor  are
24       released for use by other processors.
25
26       __ppc_mdoio()  provides  a  hint  that  performance  will  probably  be
27       improved if shared resources dedicated to the executing  processor  are
28       released  until  all  outstanding storage accesses to caching-inhibited
29       storage have been completed.
30
31       __ppc_mdoom()  provides  a  hint  that  performance  will  probably  be
32       improved  if  shared resources dedicated to the executing processor are
33       released until all outstanding storage accesses  to  cacheable  storage
34       for which the data is not in the cache have been completed.
35

VERSIONS

37       These functions first appeared in glibc in version 2.18.
38

ATTRIBUTES

40       For   an   explanation   of   the  terms  used  in  this  section,  see
41       attributes(7).
42
43       ┌──────────────────────────────┬───────────────┬─────────┐
44Interface                     Attribute     Value   
45       ├──────────────────────────────┼───────────────┼─────────┤
46__ppc_yield(), __ppc_mdoio(), │ Thread safety │ MT-Safe │
47__ppc_mdoom()                 │               │         │
48       └──────────────────────────────┴───────────────┴─────────┘

CONFORMING TO

50       These functions are nonstandard GNU extensions.
51

SEE ALSO

53       __ppc_set_ppr_med(3)
54
55       Power ISA, Book II - Section 3.2 ("or" architecture)
56

COLOPHON

58       This  page  is  part of release 5.07 of the Linux man-pages project.  A
59       description of the project, information about reporting bugs,  and  the
60       latest     version     of     this    page,    can    be    found    at
61       https://www.kernel.org/doc/man-pages/.
62
63
64
65GNU C Library                     2017-09-15                    __PPC_YIELD(3)
Impressum