1. 29 10月, 2021 1 次提交
    • J
      io_uring: harder fdinfo sq/cq ring iterating · f75d1183
      Jens Axboe 提交于
      The ring iteration is racy, which isn't necessarily a problem except it
      can cause us to iterate the whole thing. That isn't desired or ideal,
      and it can lead to excessive runtimes of reading fdinfo.
      
      Cap the iteration at tail - head OR the ring size. While in there, clean
      up the ring masking and just dump the raw values along with the masks.
      That provides more useful debug info.
      
      Fixes: 83f84356 ("io_uring: add more uring info to fdinfo for debug")
      Reported-by: NEric Dumazet <edumazet@google.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      f75d1183
  2. 27 10月, 2021 1 次提交
  3. 25 10月, 2021 7 次提交
  4. 23 10月, 2021 2 次提交
  5. 20 10月, 2021 2 次提交
  6. 19 10月, 2021 27 次提交
新手
引导
客服 返回
顶部