[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1472477273.14381.257.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Mon, 29 Aug 2016 06:27:53 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: Jamal Hadi Salim <jhs@...atatu.com>,
David Miller <davem@...emloft.net>,
Linux Kernel Network Developers <netdev@...r.kernel.org>,
Daniel Borkmann <daniel@...earbox.net>
Subject: Re: [PATCH v3 net-next 1/1] net_sched: Introduce skbmod action
On Sun, 2016-08-28 at 22:10 -0700, Cong Wang wrote:
> On Sun, Aug 28, 2016 at 9:07 AM, Eric Dumazet <eric.dumazet@...il.com> wrote:
> >
> > Adding an action with a spinlock held in fast path in 2016 is
> > a way to tell people : It is a toy, do not use it for real.
> >
> > Sorry guys. Friends do not let friends do that anymore.
> >
>
> Please stop joking, this is not funny at all:
>
> % git grep tcf_lock -- net/sched
This is absolutely trivial to write this skbmod without taking a lock.
If you guys do not care about that, I will simply NACK any new lazy
code.
Do not try to call me funny, simply acknowledge the mere facts and try
to keep your calm Cong.
Powered by blists - more mailing lists