[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150128.232211.1157376728217761804.davem@davemloft.net>
Date: Wed, 28 Jan 2015 23:22:11 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: hch@....de
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: remove sock_iocb
From: Christoph Hellwig <hch@....de>
Date: Wed, 28 Jan 2015 18:04:53 +0100
> The sock_iocb structure is allocate on stack for each read/write-like
> operation on sockets, and contains various fields of which only the
> embedded msghdr and sometimes a pointer to the scm_cookie is ever used.
> Get rid of the sock_iocb and put a msghdr directly on the stack and pass
> the scm_cookie explicitly to netlink_mmap_sendmsg.
>
> Signed-off-by: Christoph Hellwig <hch@....de>
Looks good, applied, thanks.
--
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