Commit 70a96bb
slub: Enable irqs for __GFP_WAIT
SYSTEM_RUNNING might be too late for enabling interrupts. Allocations
with GFP_WAIT can happen before that. So use this as an indicator.
[bigeasy: Add warning on RT for allocations in atomic context.
Don't enable interrupts on allocations during SYSTEM_SUSPEND. This is done
during suspend by ACPI, noticed by Liwei Song <[email protected]>
]
Signed-off-by: Thomas Gleixner <[email protected]>1 parent 9154bae commit 70a96bb
1 file changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1745 | 1745 | | |
1746 | 1746 | | |
1747 | 1747 | | |
| 1748 | + | |
1748 | 1749 | | |
1749 | 1750 | | |
1750 | 1751 | | |
1751 | 1752 | | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
1752 | 1760 | | |
1753 | 1761 | | |
1754 | 1762 | | |
| |||
1807 | 1815 | | |
1808 | 1816 | | |
1809 | 1817 | | |
1810 | | - | |
| 1818 | + | |
1811 | 1819 | | |
1812 | 1820 | | |
1813 | 1821 | | |
| |||
2865 | 2873 | | |
2866 | 2874 | | |
2867 | 2875 | | |
| 2876 | + | |
| 2877 | + | |
| 2878 | + | |
| 2879 | + | |
2868 | 2880 | | |
2869 | 2881 | | |
2870 | 2882 | | |
| |||
3331 | 3343 | | |
3332 | 3344 | | |
3333 | 3345 | | |
| 3346 | + | |
| 3347 | + | |
| 3348 | + | |
| 3349 | + | |
3334 | 3350 | | |
3335 | 3351 | | |
3336 | 3352 | | |
| |||
0 commit comments