1__PPC_YIELD(3) Linux Programmer'sManual __PPC_YIELD(3)
2
3
4
6 __ppc_yield, __ppc_mdoio, __ppc_mdoom - Hint the processor to release
7 shared resources
8
10 #include <sys/platform/ppc.h>
11
12 void __ppc_yield(void);
13 void __ppc_mdoio(void);
14 void __ppc_mdoom(void);
15
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 im‐
23 proved if shared resources dedicated to the executing processor are re‐
24 leased for use by other processors.
25
26 __ppc_mdoio() provides a hint that performance will probably be im‐
27 proved if shared resources dedicated to the executing processor are re‐
28 leased 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 im‐
32 proved if shared resources dedicated to the executing processor are re‐
33 leased until all outstanding storage accesses to cacheable storage for
34 which the data is not in the cache have been completed.
35
37 These functions first appeared in glibc in version 2.18.
38
40 For an explanation of the terms used in this section, see at‐
41 tributes(7).
42
43 ┌────────────────────────────────────────────┬───────────────┬─────────┐
44 │Interface │ Attribute │ Value │
45 ├────────────────────────────────────────────┼───────────────┼─────────┤
46 │__ppc_yield(), __ppc_mdoio(), __ppc_mdoom() │ Thread safety │ MT-Safe │
47 └────────────────────────────────────────────┴───────────────┴─────────┘
48
50 These functions are nonstandard GNU extensions.
51
53 __ppc_set_ppr_med(3)
54
55 Power ISA, Book II - Section 3.2 ("or" architecture)
56
58 This page is part of release 5.13 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 2021-03-22 __PPC_YIELD(3)