Commit 62c5684
committed
allocator: Improve rfree() debug and trace
System heap is one time allocate only meant for init and not for freeing.
Panic if someone attempts to free system heap.
Provide pointers and cpu core ID for any failures in trace .
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>1 parent e101263 commit 62c5684
1 file changed
Lines changed: 23 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | 330 | | |
335 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
336 | 334 | | |
| 335 | + | |
337 | 336 | | |
338 | 337 | | |
339 | 338 | | |
| |||
346 | 345 | | |
347 | 346 | | |
348 | 347 | | |
349 | | - | |
| 348 | + | |
| 349 | + | |
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
| 543 | + | |
543 | 544 | | |
544 | 545 | | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
545 | 562 | | |
546 | 563 | | |
547 | 564 | | |
| |||
0 commit comments