Re: [PATCH net-next v3 2/3] page_pool: Turn dma_sync into a full-width bool field

From
Jesper Dangaard Brouer <hawk@kernel.org>
Date
2025-03-26 12:56:23
Also in
bpf, linux-mm, linux-rdma
Reply to
Toke Høiland-Jørgensen, 2025-03-26

On 26/03/2025 09.18, Toke Høiland-Jørgensen wrote:
Change the single-bit boolean for dma_sync into a full-width bool, so we
can read it as volatile with READ_ONCE(). A subsequent patch will add
writing with WRITE_ONCE() on teardown.

Reviewed-by: Mina Almasry<redacted>
Tested-by: Yonglong Liu<redacted>
Signed-off-by: Toke Høiland-Jørgensen<redacted>
---
  include/net/page_pool/types.h | 6 +++---
  net/core/page_pool.c          | 2 +-
  2 files changed, 4 insertions(+), 4 deletions(-)
LGTM

Acked-by: Jesper Dangaard Brouer <hawk@kernel.org>
Thread (12 messages) 12 messages, 5 authors, last reply 2025-03-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help