Re: [PATCH] net/mlx4_en: Fix bpf_prog_add ref_cnt in mlx4

2016-11-09 Thread Brenden Blanco
On Wed, Nov 09, 2016 at 10:57:32AM +0100, Daniel Borkmann wrote: > On 11/09/2016 10:45 AM, Zhiyi Sun wrote: > >On Wed, Nov 09, 2016 at 10:05:31AM +0100, Daniel Borkmann wrote: > >>On 11/09/2016 08:35 AM, Zhiyi Sun wrote: > >>>There are rx_ring_num queues. Each queue will load xdp prog. So > >>>bpf_

Re: uprobes: memory leak in enable/disable loop

2016-08-16 Thread Brenden Blanco
On Tue, Aug 16, 2016 at 04:34:08PM +0200, Oleg Nesterov wrote: > On 08/16, Oleg Nesterov wrote: > > > > On 08/16, Oleg Nesterov wrote: > > > > > > On 08/15, Brenden Blanco wrote: > > > > > > > > Hi folks, > > > > > &g

uprobes: memory leak in enable/disable loop

2016-08-15 Thread Brenden Blanco
Hi folks, I think I have come across a memory leak in uprobes, which is fairly easy to reproduce. Using a repeated use of a single uprobe, I am able to run my system out of memory, resulting in system failures and a need to reboot the box. When I first became aware of the failure, I was able to

Re: [llvm-dev] llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-08-12 Thread Brenden Blanco
Hi Wangnan, I've been authoring the BCC development, so I'll answer those specific questions. > > > Could you please give us further information about your clang rewriter? > I guess you need a new .so when injecting those code into kernel? The rewriter runs all of its passes in a single process, c