From: Jakub Kicinski <kuba@xxxxxxxxxx> Date: Fri, 5 Sep 2025 15:15:37 -0700 > Make XDP helpers compatible with unreadable memory. This is very > similar to how we handle pfmemalloc frags today. Record the info > in xdp_buf flags as frags get added and then update the skb once > allocated. > > This series adds the unreadable memory metadata tracking to drivers > using xdp_build_skb_from*() with no changes on the driver side - hence > the only driver changes here are refactoring. Obviously, unreadable memory > is incompatible with XDP today, but thanks to xdp_build_skb_from_buf() > increasing number of drivers have a unified datapath, whether XDP is > enabled or not. > > RFC: https://lore.kernel.org/20250812161528.835855-1-kuba@xxxxxxxxxx Reviewed-by: Alexander Lobakin <aleksander.lobakin@xxxxxxxxx> I have plans to add possibility to run XDP progs on devmem/io_uring queues when it's known that the program doesn't heed to access the payload, only the headers. Currently no free time slots for this, but eventually we'll get there. This is a good prereq for this. Thanks, Olek