Commit 8174daf
committed
Merge tag 'slab-for-7.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab
Pull slab fixes from Vlastimil Babka:
- Fix for a memory leak that can occur when already so low on memory
that we can't allocate a new slab anymore (Qing Wang)
- Fix for a case where slabobj_ext array for a slab might be allocated
from the same slab, making it permanently non-freeable (Harry Yoo)
* tag 'slab-for-7.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab:
slab: fix memory leak when refill_sheaf() fails
mm/slab: fix an incorrect check in obj_exts_alloc_size()1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2119 | 2119 | | |
2120 | 2120 | | |
2121 | 2121 | | |
2122 | | - | |
2123 | | - | |
2124 | | - | |
2125 | | - | |
2126 | | - | |
2127 | | - | |
2128 | | - | |
2129 | 2122 | | |
2130 | 2123 | | |
2131 | 2124 | | |
| |||
2797 | 2790 | | |
2798 | 2791 | | |
2799 | 2792 | | |
| 2793 | + | |
2800 | 2794 | | |
2801 | 2795 | | |
2802 | 2796 | | |
| |||
2828 | 2822 | | |
2829 | 2823 | | |
2830 | 2824 | | |
| 2825 | + | |
2831 | 2826 | | |
2832 | 2827 | | |
2833 | 2828 | | |
| |||
2837 | 2832 | | |
2838 | 2833 | | |
2839 | 2834 | | |
| 2835 | + | |
2840 | 2836 | | |
2841 | 2837 | | |
2842 | 2838 | | |
| |||
4623 | 4619 | | |
4624 | 4620 | | |
4625 | 4621 | | |
| 4622 | + | |
4626 | 4623 | | |
4627 | 4624 | | |
4628 | 4625 | | |
| |||
0 commit comments