[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140516145032.GD8346@casper.infradead.org>
Date: Fri, 16 May 2014 15:50:32 +0100
From: Thomas Graf <tgraf@...g.ch>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Ben Greear <greearb@...delatech.com>, davem@...emloft.net,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] pktgen: Add NOINIT option to leave packet data
uninitialized
On 05/16/14 at 07:23am, Eric Dumazet wrote:
> pktgen has already a way to send fragments which are not memset for
> every packet. We share a 'zero' page for that.
>
> So only headers need to be really built for each packet.
Right, F_NOINIT is exclusively for cases where a linear buffer is
desired. I don't fully understand the argument of exposing kernel
memory as root considering the presence of /dev/mem though.
That said, I understand that this is a special case and that the
objective is reachable with non linear skbs already so I'm fine
with ignoring this patch and have it linger outside of the tree for
whoever has use for it.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists