[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130815.155145.284061591768566029.davem@davemloft.net>
Date: Thu, 15 Aug 2013 15:51:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: pshelar@...ira.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] netlink: Eliminate kmalloc in netlink dump operation.
From: Pravin B Shelar <pshelar@...ira.com>
Date: Thu, 15 Aug 2013 15:31:06 -0700
> Following patch stores struct netlink_callback in netlink_sock
> to avoid allocating and freeing it on every netlink dump msg.
> Only one dump operation is allowed for a given socket at a time
> therefore we can safely convert cb pointer to cb struct inside
> netlink_sock.
>
> Signed-off-by: Pravin B Shelar <pshelar@...ira.com>
Your analysis 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