aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorWei Fang <[email protected]>2023-07-25 07:41:48 +0000
committerJakub Kicinski <[email protected]>2023-07-27 04:12:12 +0000
commit15cec633fc7bfe4cd69aa012c3b35b31acfc86f2 (patch)
tree1cc038408e6650e4beb5d5252e60df7051dcc4e8 /fs/jbd2/commit.c
parentMerge branch 'mptcp-more-fixes-for-6-5' (diff)
downloadkernel-15cec633fc7bfe4cd69aa012c3b35b31acfc86f2.tar.gz
kernel-15cec633fc7bfe4cd69aa012c3b35b31acfc86f2.zip
net: fec: tx processing does not call XDP APIs if budget is 0
According to the clarification [1] in the latest napi.rst, the tx processing cannot call any XDP (or page pool) APIs if the "budget" is 0. Because NAPI is called with the budget of 0 (such as netpoll) indicates we may be in an IRQ context, however, we cannot use the page pool from IRQ context. [1] https://lore.kernel.org/all/[email protected]/ Fixes: 20f797399035 ("net: fec: recycle pages for transmitted XDP frames") Signed-off-by: Wei Fang <[email protected]> Suggested-by: Jakub Kicinski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions