aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2024-03-12 23:37:17 +0000
committerPaolo Abeni <[email protected]>2024-03-14 13:09:52 +0100
commit6b2536462fd48b49563aef0555517cb91047c5f5 (patch)
treec03f9186836b6a71cbb9c8c508953efbf1ee1f0c /tools/perf/scripts/python/bin/export-to-postgresql-report
parentddbec99f58571301679addbc022256970ca3eac6 (diff)
rxrpc: Fix use of changed alignment param to page_frag_alloc_align()
Commit 411c5f36805c ("mm/page_alloc: modify page_frag_alloc_align() to accept align as an argument") changed the way page_frag_alloc_align() worked, but it didn't fix AF_RXRPC as that use of that allocator function hadn't been merged yet at the time. Now, when the AFS filesystem is used, this results in: WARNING: CPU: 4 PID: 379 at include/linux/gfp.h:323 rxrpc_alloc_data_txbuf+0x9d/0x2b0 [rxrpc] Fix this by using __page_frag_alloc_align() instead. Note that it might be better to use an order-based alignment rather than a mask-based alignment. Fixes: 49489bb03a50 ("rxrpc: Do zerocopy using MSG_SPLICE_PAGES and page frags") Signed-off-by: David Howells <[email protected]> Reported-by: Marc Dionne <[email protected]> cc: Yunsheng Lin <[email protected]> cc: Alexander Duyck <[email protected]> cc: Michael S. Tsirkin <[email protected]> cc: "David S. Miller" <[email protected]> cc: Eric Dumazet <[email protected]> cc: Jakub Kicinski <[email protected]> cc: Paolo Abeni <[email protected]> cc: [email protected] cc: [email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions