Print this page
7127 remove -Wno-missing-braces from Makefile.uts
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/common/disp/ts_dptbl.c
+++ new/usr/src/uts/common/disp/ts_dptbl.c
1 1 /*
2 2 * CDDL HEADER START
3 3 *
4 4 * The contents of this file are subject to the terms of the
5 5 * Common Development and Distribution License, Version 1.0 only
6 6 * (the "License"). You may not use this file except in compliance
7 7 * with the License.
8 8 *
9 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 10 * or http://www.opensolaris.org/os/licensing.
11 11 * See the License for the specific language governing permissions
12 12 * and limitations under the License.
13 13 *
14 14 * When distributing Covered Code, include this CDDL HEADER in each
15 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 16 * If applicable, add the following below this CDDL HEADER, with the
17 17 * fields enclosed by brackets "[]" replaced with your own identifying
18 18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 19 *
20 20 * CDDL HEADER END
↓ open down ↓ |
20 lines elided |
↑ open up ↑ |
21 21 */
22 22 /*
23 23 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
24 24 * Use is subject to license terms.
25 25 */
26 26
27 27 /* Copyright (c) 1990, 1991 UNIX System Laboratories, Inc. */
28 28 /* Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T */
29 29 /* All Rights Reserved */
30 30
31 -#pragma ident "%Z%%M% %I% %E% SMI"
32 -
33 31 #include <sys/proc.h>
34 32 #include <sys/priocntl.h>
35 33 #include <sys/class.h>
36 34 #include <sys/disp.h>
37 35 #include <sys/ts.h>
38 36 #include <sys/tspriocntl.h>
39 37 #include <sys/modctl.h>
40 38
41 39 /*
42 40 * The purpose of this file is to allow a user to make their own
43 41 * ts_dptbl. The contents of this file should be included in the
44 42 * ts_dptbl(4) man page with proper instructions for making
45 43 * and replacing the TS_DPTBL.kmod in modules/sched. This was the
46 44 * only way to provide functionality equivalent to the mkboot/cunix
47 45 * method in SVr4 without having the utilities mkboot/cunix in
48 46 * SunOS/Svr4.
49 47 * It is recommended that the system calls be used to change the time
50 48 * quantums instead of re-building the module.
51 49 * There are also other tunable time sharing parameters in here also
↓ open down ↓ |
9 lines elided |
↑ open up ↑ |
52 50 * that used to be in param.c
53 51 */
54 52
55 53 extern int ts_dispatch_extended;
56 54
57 55 static struct modlmisc modlmisc = {
58 56 &mod_miscops, "Time sharing dispatch table"
59 57 };
60 58
61 59 static struct modlinkage modlinkage = {
62 - MODREV_1, &modlmisc, 0
60 + MODREV_1, { &modlmisc, NULL }
63 61 };
64 62
65 63 int
66 64 _init()
67 65 {
68 66 return (mod_install(&modlinkage));
69 67 }
70 68
71 69 int
72 70 _info(struct modinfo *modinfop)
73 71 {
74 72 return (mod_info(&modlinkage, modinfop));
75 73 }
76 74
77 75 #define TSGPUP0 0 /* Global priority for TS user priority 0 */
78 76 #define TSGPKP0 60 /* Global priority for TS kernel priority 0 */
79 77
80 78 /*
81 79 * array of global priorities used by ts procs sleeping or
82 80 * running in kernel mode after sleep
83 81 */
84 82
85 83 pri_t config_ts_kmdpris[] = {
86 84 TSGPKP0, TSGPKP0+1, TSGPKP0+2, TSGPKP0+3,
87 85 TSGPKP0+4, TSGPKP0+5, TSGPKP0+6, TSGPKP0+7,
88 86 TSGPKP0+8, TSGPKP0+9, TSGPKP0+10, TSGPKP0+11,
89 87 TSGPKP0+12, TSGPKP0+13, TSGPKP0+14, TSGPKP0+15,
90 88 TSGPKP0+16, TSGPKP0+17, TSGPKP0+18, TSGPKP0+19,
91 89 TSGPKP0+20, TSGPKP0+21, TSGPKP0+22, TSGPKP0+23,
↓ open down ↓ |
19 lines elided |
↑ open up ↑ |
92 90 TSGPKP0+24, TSGPKP0+25, TSGPKP0+26, TSGPKP0+27,
93 91 TSGPKP0+28, TSGPKP0+29, TSGPKP0+30, TSGPKP0+31,
94 92 TSGPKP0+32, TSGPKP0+33, TSGPKP0+34, TSGPKP0+35,
95 93 TSGPKP0+36, TSGPKP0+37, TSGPKP0+38, TSGPKP0+39
96 94 };
97 95
98 96 tsdpent_t config_ts_dptbl[] = {
99 97
100 98 /* glbpri qntm tqexp slprt mxwt lwt */
101 99
102 - TSGPUP0+0, 20, 0, 50, 0, 50,
103 - TSGPUP0+1, 20, 0, 50, 0, 50,
104 - TSGPUP0+2, 20, 0, 50, 0, 50,
105 - TSGPUP0+3, 20, 0, 50, 0, 50,
106 - TSGPUP0+4, 20, 0, 50, 0, 50,
107 - TSGPUP0+5, 20, 0, 50, 0, 50,
108 - TSGPUP0+6, 20, 0, 50, 0, 50,
109 - TSGPUP0+7, 20, 0, 50, 0, 50,
110 - TSGPUP0+8, 20, 0, 50, 0, 50,
111 - TSGPUP0+9, 20, 0, 50, 0, 50,
112 - TSGPUP0+10, 16, 0, 51, 0, 51,
113 - TSGPUP0+11, 16, 1, 51, 0, 51,
114 - TSGPUP0+12, 16, 2, 51, 0, 51,
115 - TSGPUP0+13, 16, 3, 51, 0, 51,
116 - TSGPUP0+14, 16, 4, 51, 0, 51,
117 - TSGPUP0+15, 16, 5, 51, 0, 51,
118 - TSGPUP0+16, 16, 6, 51, 0, 51,
119 - TSGPUP0+17, 16, 7, 51, 0, 51,
120 - TSGPUP0+18, 16, 8, 51, 0, 51,
121 - TSGPUP0+19, 16, 9, 51, 0, 51,
122 - TSGPUP0+20, 12, 10, 52, 0, 52,
123 - TSGPUP0+21, 12, 11, 52, 0, 52,
124 - TSGPUP0+22, 12, 12, 52, 0, 52,
125 - TSGPUP0+23, 12, 13, 52, 0, 52,
126 - TSGPUP0+24, 12, 14, 52, 0, 52,
127 - TSGPUP0+25, 12, 15, 52, 0, 52,
128 - TSGPUP0+26, 12, 16, 52, 0, 52,
129 - TSGPUP0+27, 12, 17, 52, 0, 52,
130 - TSGPUP0+28, 12, 18, 52, 0, 52,
131 - TSGPUP0+29, 12, 19, 52, 0, 52,
132 - TSGPUP0+30, 8, 20, 53, 0, 53,
133 - TSGPUP0+31, 8, 21, 53, 0, 53,
134 - TSGPUP0+32, 8, 22, 53, 0, 53,
135 - TSGPUP0+33, 8, 23, 53, 0, 53,
136 - TSGPUP0+34, 8, 24, 53, 0, 53,
137 - TSGPUP0+35, 8, 25, 54, 0, 54,
138 - TSGPUP0+36, 8, 26, 54, 0, 54,
139 - TSGPUP0+37, 8, 27, 54, 0, 54,
140 - TSGPUP0+38, 8, 28, 54, 0, 54,
141 - TSGPUP0+39, 8, 29, 54, 0, 54,
142 - TSGPUP0+40, 4, 30, 55, 0, 55,
143 - TSGPUP0+41, 4, 31, 55, 0, 55,
144 - TSGPUP0+42, 4, 32, 55, 0, 55,
145 - TSGPUP0+43, 4, 33, 55, 0, 55,
146 - TSGPUP0+44, 4, 34, 55, 0, 55,
147 - TSGPUP0+45, 4, 35, 56, 0, 56,
148 - TSGPUP0+46, 4, 36, 57, 0, 57,
149 - TSGPUP0+47, 4, 37, 58, 0, 58,
150 - TSGPUP0+48, 4, 38, 58, 0, 58,
151 - TSGPUP0+49, 4, 39, 58, 0, 59,
152 - TSGPUP0+50, 4, 40, 58, 0, 59,
153 - TSGPUP0+51, 4, 41, 58, 0, 59,
154 - TSGPUP0+52, 4, 42, 58, 0, 59,
155 - TSGPUP0+53, 4, 43, 58, 0, 59,
156 - TSGPUP0+54, 4, 44, 58, 0, 59,
157 - TSGPUP0+55, 4, 45, 58, 0, 59,
158 - TSGPUP0+56, 4, 46, 58, 0, 59,
159 - TSGPUP0+57, 4, 47, 58, 0, 59,
160 - TSGPUP0+58, 4, 48, 58, 0, 59,
161 - TSGPUP0+59, 2, 49, 59, 32000, 59
100 + { TSGPUP0+0, 20, 0, 50, 0, 50 },
101 + { TSGPUP0+1, 20, 0, 50, 0, 50 },
102 + { TSGPUP0+2, 20, 0, 50, 0, 50 },
103 + { TSGPUP0+3, 20, 0, 50, 0, 50 },
104 + { TSGPUP0+4, 20, 0, 50, 0, 50 },
105 + { TSGPUP0+5, 20, 0, 50, 0, 50 },
106 + { TSGPUP0+6, 20, 0, 50, 0, 50 },
107 + { TSGPUP0+7, 20, 0, 50, 0, 50 },
108 + { TSGPUP0+8, 20, 0, 50, 0, 50 },
109 + { TSGPUP0+9, 20, 0, 50, 0, 50 },
110 + { TSGPUP0+10, 16, 0, 51, 0, 51 },
111 + { TSGPUP0+11, 16, 1, 51, 0, 51 },
112 + { TSGPUP0+12, 16, 2, 51, 0, 51 },
113 + { TSGPUP0+13, 16, 3, 51, 0, 51 },
114 + { TSGPUP0+14, 16, 4, 51, 0, 51 },
115 + { TSGPUP0+15, 16, 5, 51, 0, 51 },
116 + { TSGPUP0+16, 16, 6, 51, 0, 51 },
117 + { TSGPUP0+17, 16, 7, 51, 0, 51 },
118 + { TSGPUP0+18, 16, 8, 51, 0, 51 },
119 + { TSGPUP0+19, 16, 9, 51, 0, 51 },
120 + { TSGPUP0+20, 12, 10, 52, 0, 52 },
121 + { TSGPUP0+21, 12, 11, 52, 0, 52 },
122 + { TSGPUP0+22, 12, 12, 52, 0, 52 },
123 + { TSGPUP0+23, 12, 13, 52, 0, 52 },
124 + { TSGPUP0+24, 12, 14, 52, 0, 52 },
125 + { TSGPUP0+25, 12, 15, 52, 0, 52 },
126 + { TSGPUP0+26, 12, 16, 52, 0, 52 },
127 + { TSGPUP0+27, 12, 17, 52, 0, 52 },
128 + { TSGPUP0+28, 12, 18, 52, 0, 52 },
129 + { TSGPUP0+29, 12, 19, 52, 0, 52 },
130 + { TSGPUP0+30, 8, 20, 53, 0, 53 },
131 + { TSGPUP0+31, 8, 21, 53, 0, 53 },
132 + { TSGPUP0+32, 8, 22, 53, 0, 53 },
133 + { TSGPUP0+33, 8, 23, 53, 0, 53 },
134 + { TSGPUP0+34, 8, 24, 53, 0, 53 },
135 + { TSGPUP0+35, 8, 25, 54, 0, 54 },
136 + { TSGPUP0+36, 8, 26, 54, 0, 54 },
137 + { TSGPUP0+37, 8, 27, 54, 0, 54 },
138 + { TSGPUP0+38, 8, 28, 54, 0, 54 },
139 + { TSGPUP0+39, 8, 29, 54, 0, 54 },
140 + { TSGPUP0+40, 4, 30, 55, 0, 55 },
141 + { TSGPUP0+41, 4, 31, 55, 0, 55 },
142 + { TSGPUP0+42, 4, 32, 55, 0, 55 },
143 + { TSGPUP0+43, 4, 33, 55, 0, 55 },
144 + { TSGPUP0+44, 4, 34, 55, 0, 55 },
145 + { TSGPUP0+45, 4, 35, 56, 0, 56 },
146 + { TSGPUP0+46, 4, 36, 57, 0, 57 },
147 + { TSGPUP0+47, 4, 37, 58, 0, 58 },
148 + { TSGPUP0+48, 4, 38, 58, 0, 58 },
149 + { TSGPUP0+49, 4, 39, 58, 0, 59 },
150 + { TSGPUP0+50, 4, 40, 58, 0, 59 },
151 + { TSGPUP0+51, 4, 41, 58, 0, 59 },
152 + { TSGPUP0+52, 4, 42, 58, 0, 59 },
153 + { TSGPUP0+53, 4, 43, 58, 0, 59 },
154 + { TSGPUP0+54, 4, 44, 58, 0, 59 },
155 + { TSGPUP0+55, 4, 45, 58, 0, 59 },
156 + { TSGPUP0+56, 4, 46, 58, 0, 59 },
157 + { TSGPUP0+57, 4, 47, 58, 0, 59 },
158 + { TSGPUP0+58, 4, 48, 58, 0, 59 },
159 + { TSGPUP0+59, 2, 49, 59, 32000, 59 }
162 160 };
163 161
164 162 /*
165 163 * config_ts_dptbl_server[] is an alternate dispatch table that may
166 164 * deliver better performance on large server configurations.
167 165 * This table must be the same size as the default table, config_ts_dptbl.
168 166 */
169 167 tsdpent_t config_ts_dptbl_server[] = {
170 168
171 169 /* glbpri qntm tqexp slprt mxwt lwt */
172 170
173 - TSGPUP0+0, 40, 0, 1, 2, 40,
174 - TSGPUP0+1, 38, 0, 2, 2, 40,
175 - TSGPUP0+2, 38, 1, 3, 2, 40,
176 - TSGPUP0+3, 38, 1, 4, 2, 40,
177 - TSGPUP0+4, 38, 2, 5, 2, 40,
178 - TSGPUP0+5, 38, 2, 6, 2, 40,
179 - TSGPUP0+6, 38, 3, 7, 2, 40,
180 - TSGPUP0+7, 38, 3, 8, 2, 40,
181 - TSGPUP0+8, 38, 4, 9, 2, 40,
182 - TSGPUP0+9, 38, 4, 10, 2, 40,
183 - TSGPUP0+10, 38, 5, 11, 2, 40,
184 - TSGPUP0+11, 38, 5, 12, 2, 40,
185 - TSGPUP0+12, 38, 6, 13, 2, 40,
186 - TSGPUP0+13, 38, 6, 14, 2, 40,
187 - TSGPUP0+14, 38, 7, 15, 2, 40,
188 - TSGPUP0+15, 38, 7, 16, 2, 40,
189 - TSGPUP0+16, 38, 8, 17, 2, 40,
190 - TSGPUP0+17, 38, 8, 18, 2, 40,
191 - TSGPUP0+18, 38, 9, 19, 2, 40,
192 - TSGPUP0+19, 38, 9, 20, 2, 40,
193 - TSGPUP0+20, 36, 10, 21, 2, 40,
194 - TSGPUP0+21, 36, 11, 22, 2, 40,
195 - TSGPUP0+22, 36, 12, 23, 2, 40,
196 - TSGPUP0+23, 36, 13, 24, 2, 40,
197 - TSGPUP0+24, 36, 14, 25, 2, 40,
198 - TSGPUP0+25, 36, 15, 26, 2, 40,
199 - TSGPUP0+26, 36, 16, 27, 2, 40,
200 - TSGPUP0+27, 36, 17, 28, 2, 40,
201 - TSGPUP0+28, 36, 18, 29, 2, 40,
202 - TSGPUP0+29, 36, 19, 30, 2, 40,
203 - TSGPUP0+30, 36, 20, 31, 2, 40,
204 - TSGPUP0+31, 36, 21, 32, 2, 40,
205 - TSGPUP0+32, 36, 22, 33, 2, 40,
206 - TSGPUP0+33, 36, 23, 34, 2, 40,
207 - TSGPUP0+34, 36, 24, 35, 2, 40,
208 - TSGPUP0+35, 36, 25, 36, 2, 40,
209 - TSGPUP0+36, 36, 26, 37, 2, 40,
210 - TSGPUP0+37, 36, 27, 38, 2, 40,
211 - TSGPUP0+38, 36, 28, 39, 2, 40,
212 - TSGPUP0+39, 36, 29, 40, 2, 40,
213 - TSGPUP0+40, 36, 30, 41, 2, 41,
214 - TSGPUP0+41, 34, 31, 42, 2, 42,
215 - TSGPUP0+42, 34, 32, 43, 2, 43,
216 - TSGPUP0+43, 34, 33, 44, 2, 44,
217 - TSGPUP0+44, 34, 34, 45, 2, 45,
218 - TSGPUP0+45, 34, 35, 46, 2, 46,
219 - TSGPUP0+46, 34, 36, 47, 2, 47,
220 - TSGPUP0+47, 34, 37, 48, 2, 48,
221 - TSGPUP0+48, 34, 38, 49, 2, 49,
222 - TSGPUP0+49, 34, 39, 50, 2, 50,
223 - TSGPUP0+50, 34, 40, 51, 2, 51,
224 - TSGPUP0+51, 34, 41, 52, 2, 52,
225 - TSGPUP0+52, 34, 42, 53, 2, 53,
226 - TSGPUP0+53, 34, 43, 54, 2, 54,
227 - TSGPUP0+54, 34, 44, 55, 2, 55,
228 - TSGPUP0+55, 34, 45, 56, 2, 56,
229 - TSGPUP0+56, 34, 46, 57, 2, 57,
230 - TSGPUP0+57, 34, 47, 58, 2, 58,
231 - TSGPUP0+58, 34, 48, 59, 2, 59,
232 - TSGPUP0+59, 34, 49, 59, 2, 59
171 + { TSGPUP0+0, 40, 0, 1, 2, 40 },
172 + { TSGPUP0+1, 38, 0, 2, 2, 40 },
173 + { TSGPUP0+2, 38, 1, 3, 2, 40 },
174 + { TSGPUP0+3, 38, 1, 4, 2, 40 },
175 + { TSGPUP0+4, 38, 2, 5, 2, 40 },
176 + { TSGPUP0+5, 38, 2, 6, 2, 40 },
177 + { TSGPUP0+6, 38, 3, 7, 2, 40 },
178 + { TSGPUP0+7, 38, 3, 8, 2, 40 },
179 + { TSGPUP0+8, 38, 4, 9, 2, 40 },
180 + { TSGPUP0+9, 38, 4, 10, 2, 40 },
181 + { TSGPUP0+10, 38, 5, 11, 2, 40 },
182 + { TSGPUP0+11, 38, 5, 12, 2, 40 },
183 + { TSGPUP0+12, 38, 6, 13, 2, 40 },
184 + { TSGPUP0+13, 38, 6, 14, 2, 40 },
185 + { TSGPUP0+14, 38, 7, 15, 2, 40 },
186 + { TSGPUP0+15, 38, 7, 16, 2, 40 },
187 + { TSGPUP0+16, 38, 8, 17, 2, 40 },
188 + { TSGPUP0+17, 38, 8, 18, 2, 40 },
189 + { TSGPUP0+18, 38, 9, 19, 2, 40 },
190 + { TSGPUP0+19, 38, 9, 20, 2, 40 },
191 + { TSGPUP0+20, 36, 10, 21, 2, 40 },
192 + { TSGPUP0+21, 36, 11, 22, 2, 40 },
193 + { TSGPUP0+22, 36, 12, 23, 2, 40 },
194 + { TSGPUP0+23, 36, 13, 24, 2, 40 },
195 + { TSGPUP0+24, 36, 14, 25, 2, 40 },
196 + { TSGPUP0+25, 36, 15, 26, 2, 40 },
197 + { TSGPUP0+26, 36, 16, 27, 2, 40 },
198 + { TSGPUP0+27, 36, 17, 28, 2, 40 },
199 + { TSGPUP0+28, 36, 18, 29, 2, 40 },
200 + { TSGPUP0+29, 36, 19, 30, 2, 40 },
201 + { TSGPUP0+30, 36, 20, 31, 2, 40 },
202 + { TSGPUP0+31, 36, 21, 32, 2, 40 },
203 + { TSGPUP0+32, 36, 22, 33, 2, 40 },
204 + { TSGPUP0+33, 36, 23, 34, 2, 40 },
205 + { TSGPUP0+34, 36, 24, 35, 2, 40 },
206 + { TSGPUP0+35, 36, 25, 36, 2, 40 },
207 + { TSGPUP0+36, 36, 26, 37, 2, 40 },
208 + { TSGPUP0+37, 36, 27, 38, 2, 40 },
209 + { TSGPUP0+38, 36, 28, 39, 2, 40 },
210 + { TSGPUP0+39, 36, 29, 40, 2, 40 },
211 + { TSGPUP0+40, 36, 30, 41, 2, 41 },
212 + { TSGPUP0+41, 34, 31, 42, 2, 42 },
213 + { TSGPUP0+42, 34, 32, 43, 2, 43 },
214 + { TSGPUP0+43, 34, 33, 44, 2, 44 },
215 + { TSGPUP0+44, 34, 34, 45, 2, 45 },
216 + { TSGPUP0+45, 34, 35, 46, 2, 46 },
217 + { TSGPUP0+46, 34, 36, 47, 2, 47 },
218 + { TSGPUP0+47, 34, 37, 48, 2, 48 },
219 + { TSGPUP0+48, 34, 38, 49, 2, 49 },
220 + { TSGPUP0+49, 34, 39, 50, 2, 50 },
221 + { TSGPUP0+50, 34, 40, 51, 2, 51 },
222 + { TSGPUP0+51, 34, 41, 52, 2, 52 },
223 + { TSGPUP0+52, 34, 42, 53, 2, 53 },
224 + { TSGPUP0+53, 34, 43, 54, 2, 54 },
225 + { TSGPUP0+54, 34, 44, 55, 2, 55 },
226 + { TSGPUP0+55, 34, 45, 56, 2, 56 },
227 + { TSGPUP0+56, 34, 46, 57, 2, 57 },
228 + { TSGPUP0+57, 34, 47, 58, 2, 58 },
229 + { TSGPUP0+58, 34, 48, 59, 2, 59 },
230 + { TSGPUP0+59, 34, 49, 59, 2, 59 }
233 231 };
234 232
235 233
236 234
237 235 pri_t config_ts_maxumdpri = sizeof (config_ts_dptbl) / sizeof (tsdpent_t) - 1;
238 236
239 237 /*
240 238 * Return the address of config_ts_dptbl
241 239 */
242 240 tsdpent_t *
243 241 ts_getdptbl()
244 242 {
245 243 /*
246 244 * If ts_dispatch_extended is -1, set it to 0x0
247 245 * to choose the default TS table.
248 246 */
249 247 if (ts_dispatch_extended == -1)
250 248 ts_dispatch_extended = 0;
251 249
252 250 /*
253 251 * If ts_dispatch_extended is non-zero, use the
254 252 * "large server style" TS dispatch table.
255 253 */
256 254 if (ts_dispatch_extended)
257 255 return (config_ts_dptbl_server);
258 256 else
259 257 return (config_ts_dptbl);
260 258 }
261 259
262 260 /*
263 261 * Return the address of config_ts_kmdpris
264 262 */
265 263 pri_t *
266 264 ts_getkmdpris()
267 265 {
268 266 return (config_ts_kmdpris);
269 267 }
270 268
271 269 /*
272 270 * Return the address of ts_maxumdpri
273 271 */
274 272 pri_t
275 273 ts_getmaxumdpri()
276 274 {
277 275 /*
278 276 * The config_ts_dptbl_server table must be the same size as
279 277 * the config_ts_dptbl table.
280 278 */
281 279 /*LINTED*/
282 280 ASSERT(sizeof (config_ts_dptbl) == sizeof (config_ts_dptbl_server));
283 281 return (config_ts_maxumdpri);
284 282 }
↓ open down ↓ |
42 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX