Commit 768faad
module: generic: remove MEM_API_CHECK_THREAD debug mechanism
Remove the MEM_API_CHECK_THREAD() macro, CONFIG_MODULE_MEMORY_API_DEBUG
Kconfig option, and the rsrc_mngr field from struct module_resources.
This single-thread-owner check is now redundant: the previous commit
added a spinlock that properly serializes all accesses to the resource
pool, making the debug-only thread identity warning unnecessary.
Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>1 parent 7bb70f5 commit 768faad
3 files changed
Lines changed: 0 additions & 42 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 16 | | |
28 | 17 | | |
29 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 29 | | |
40 | 30 | | |
41 | 31 | | |
| |||
124 | 114 | | |
125 | 115 | | |
126 | 116 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | 117 | | |
131 | 118 | | |
132 | 119 | | |
| |||
192 | 179 | | |
193 | 180 | | |
194 | 181 | | |
195 | | - | |
196 | | - | |
197 | 182 | | |
198 | 183 | | |
199 | 184 | | |
| |||
250 | 235 | | |
251 | 236 | | |
252 | 237 | | |
253 | | - | |
254 | | - | |
255 | 238 | | |
256 | 239 | | |
257 | 240 | | |
| |||
305 | 288 | | |
306 | 289 | | |
307 | 290 | | |
308 | | - | |
309 | | - | |
310 | 291 | | |
311 | 292 | | |
312 | 293 | | |
| |||
347 | 328 | | |
348 | 329 | | |
349 | 330 | | |
350 | | - | |
351 | | - | |
352 | 331 | | |
353 | 332 | | |
354 | 333 | | |
| |||
440 | 419 | | |
441 | 420 | | |
442 | 421 | | |
443 | | - | |
444 | 422 | | |
445 | 423 | | |
446 | 424 | | |
| |||
760 | 738 | | |
761 | 739 | | |
762 | 740 | | |
763 | | - | |
764 | | - | |
765 | 741 | | |
766 | 742 | | |
767 | 743 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 24 | | |
29 | 25 | | |
30 | 26 | | |
| |||
135 | 131 | | |
136 | 132 | | |
137 | 133 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 134 | | |
142 | 135 | | |
143 | 136 | | |
| |||
0 commit comments