Revision 1d5a474240407c38ca8c7484a656ee39f585399c authored by Martin Habets on 02 January 2022, 08:41:22 UTC, committed by Jakub Kicinski on 05 January 2022, 02:14:21 UTC
The RX page_ring is an optional feature that improves performance. When allocation fails the driver can still function, but possibly with a lower bandwidth. Guard against dereferencing a NULL page_ring. Fixes: 2768935a4660 ("sfc: reuse pages to avoid DMA mapping/unmapping costs") Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com> Reported-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Link: https://lore.kernel.org/r/164111288276.5798.10330502993729113868.stgit@palantir17.mph.net Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 6f89ecf
File | Mode | Size |
---|---|---|
damon | ||
.gitignore | -rw-r--r-- | 60 bytes |
active_mm.rst | -rw-r--r-- | 3.8 KB |
arch_pgtable_helpers.rst | -rw-r--r-- | 18.2 KB |
balance.rst | -rw-r--r-- | 5.3 KB |
cleancache.rst | -rw-r--r-- | 14.0 KB |
free_page_reporting.rst | -rw-r--r-- | 2.0 KB |
frontswap.rst | -rw-r--r-- | 15.1 KB |
highmem.rst | -rw-r--r-- | 5.4 KB |
hmm.rst | -rw-r--r-- | 21.0 KB |
hugetlbfs_reserv.rst | -rw-r--r-- | 28.8 KB |
hwpoison.rst | -rw-r--r-- | 5.9 KB |
index.rst | -rw-r--r-- | 953 bytes |
ksm.rst | -rw-r--r-- | 3.4 KB |
memory-model.rst | -rw-r--r-- | 7.9 KB |
mmu_notifier.rst | -rw-r--r-- | 4.1 KB |
numa.rst | -rw-r--r-- | 8.6 KB |
overcommit-accounting.rst | -rw-r--r-- | 2.6 KB |
page_frags.rst | -rw-r--r-- | 2.3 KB |
page_migration.rst | -rw-r--r-- | 13.1 KB |
page_owner.rst | -rw-r--r-- | 4.4 KB |
remap_file_pages.rst | -rw-r--r-- | 1.6 KB |
slub.rst | -rw-r--r-- | 14.2 KB |
split_page_table_lock.rst | -rw-r--r-- | 3.6 KB |
transhuge.rst | -rw-r--r-- | 8.2 KB |
unevictable-lru.rst | -rw-r--r-- | 28.4 KB |
z3fold.rst | -rw-r--r-- | 1.2 KB |
zsmalloc.rst | -rw-r--r-- | 3.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...