Commit a1259dd
arm64/sve: Delay freeing memory in fpsimd_flush_thread()
fpsimd_flush_thread() invokes kfree() via sve_free()+sme_free() within a
preempt disabled section which is not working on -RT.
Delay freeing of memory until preemption is enabled again.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220505163207.85751-2-bigeasy@linutronix.de
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>1 parent d158a06 commit a1259dd
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1562 | 1562 | | |
1563 | 1563 | | |
1564 | 1564 | | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
1565 | 1568 | | |
1566 | 1569 | | |
1567 | 1570 | | |
| |||
1573 | 1576 | | |
1574 | 1577 | | |
1575 | 1578 | | |
1576 | | - | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
1577 | 1584 | | |
1578 | 1585 | | |
1579 | 1586 | | |
1580 | 1587 | | |
1581 | 1588 | | |
1582 | | - | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
1583 | 1594 | | |
1584 | 1595 | | |
1585 | 1596 | | |
1586 | 1597 | | |
1587 | 1598 | | |
| 1599 | + | |
| 1600 | + | |
1588 | 1601 | | |
1589 | 1602 | | |
1590 | 1603 | | |
| |||
0 commit comments