lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 13 Nov 2019 17:37:12 +0100
From:   Jesper Dangaard Brouer <brouer@...hat.com>
To:     "Jonathan Lemon" <jonathan.lemon@...il.com>
Cc:     "Alexei Starovoitov" <ast@...com>, netdev@...r.kernel.org,
        davem@...emloft.net, "Kernel Team" <Kernel-team@...com>,
        ilias.apalodimas@...aro.org, brouer@...hat.com,
        Brendan Gregg <brendan.d.gregg@...il.com>
Subject: Re: [net-next PATCH] page_pool: do not release pool until inflight
 == 0.

On Wed, 13 Nov 2019 11:08:23 +0100
Jesper Dangaard Brouer <brouer@...hat.com> wrote:

> The basic idea is to use these tracepoints to detect if we leak
> DMA-mappings. I'll try write the bpftrace script today, and
> see it I can live without the counter.

Didn't finish, here is how far I got:
 https://github.com/xdp-project/xdp-project/blob/master/areas/mem/bpftrace/page_pool_track_leaks01.bt

In the end of the bpftrace script, I needed to iterate over a map,
which I don't think bpftrace supports (Brendan) ?

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ