# 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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/03/6537262
- Thread: https://ratatoskr.run/netdev/2025/03/6537253/t.md

```text


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>
```
