]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/__ppc_yield.3
Removed trailing white space at end of lines
[thirdparty/man-pages.git] / man3 / __ppc_yield.3
CommitLineData
36b53105
GG
1.\" Copyright (c) 2015, IBM Corporation.
2.\"
3.\" %%%LICENSE_START(VERBATIM)
4.\" Permission is granted to make and distribute verbatim copies of this
5.\" manual provided the copyright notice and this permission notice are
6.\" preserved on all copies.
7.\"
8.\" Permission is granted to copy and distribute modified versions of
9.\" this manual under the conditions for verbatim copying, provided that
10.\" the entire resulting derived work is distributed under the terms of
11.\" a permission notice identical to this one.
12.\"
13.\" Since the Linux kernel and libraries are constantly changing, this
14.\" manual page may be incorrect or out-of-date. The author(s) assume.
15.\" no responsibility for errors or omissions, or for damages resulting.
16.\" from the use of the information contained herein. The author(s) may.
17.\" not have taken the same level of care in the production of this.
18.\" manual, which is licensed free of charge, as they might when working.
19.\" professionally.
20.\"
21.\" Formatted or processed versions of this manual, if unaccompanied by
22.\" the source, must acknowledge the copyright and authors of this work.
23.\" %%%LICENSE_END
24.\"
4b8c67d9 25.TH __PPC_YIELD 3 2017-09-15 "GNU C Library" "Linux Programmer's\
36b53105
GG
26Manual"
27.SH NAME
28__ppc_yield, __ppc_mdoio, __ppc_mdoom \-
29Hint the processor to release shared resources
30.SH SYNOPSIS
31.B #include <sys/platform/ppc.h>
68e4db0a 32.PP
36b53105
GG
33.B void __ppc_yield(void);
34.br
35.B void __ppc_mdoio(void);
36.br
37.B void __ppc_mdoom(void);
38.SH DESCRIPTION
2cd276f3 39These functions
36b53105 40provide hints about the usage of resources that are shared with other
2cd276f3 41processors on the Power architecture.
36b53105
GG
42They can be used, for example, if a program waiting on a lock intends
43to divert the shared resources to be used by other processors.
11ac5b51 44.PP
36b53105
GG
45.BR __ppc_yield ()
46provides a hint that performance will probably be improved if shared
47resources dedicated to the executing processor are released for use by
48other processors.
11ac5b51 49.PP
36b53105
GG
50.BR __ppc_mdoio ()
51provides a hint that performance will probably be improved if shared
52resources dedicated to the executing processor are released until all
53outstanding storage accesses to caching-inhibited storage have been
54completed.
11ac5b51 55.PP
36b53105
GG
56.BR __ppc_mdoom ()
57provides a hint that performance will probably be improved if shared
58resources dedicated to the executing processor are released until all
59outstanding storage accesses to cacheable storage for which the data
60is not in the cache have been completed.
61.SH VERSIONS
2cd276f3 62These functions first appeared in glibc in version 2.18.
36b53105
GG
63.SH ATTRIBUTES
64For an explanation of the terms used in this section, see
65.BR attributes (7).
66.ad l
67.TS
68allbox;
2cd276f3 69lbw29 lb lb
36b53105
GG
70l l l.
71Interface Attribute Value
72T{
73.BR __ppc_yield (),
74.BR __ppc_mdoio (),
75.BR __ppc_mdoom ()
76T} Thread safety MT-Safe
77.TE
78.ad
79.SH CONFORMING TO
80These functions are nonstandard GNU extensions.
81.SH SEE ALSO
82.BR __ppc_set_ppr_med (3)
847e0d88 83.PP
2cd276f3 84.IR "Power ISA, Book\ II - Section\ 3.2 (""or"" architecture)"