[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTi=1Xzne6HZN-w_3RTeUmqtjGpHPfW211SKvW17w@mail.gmail.com>
Date: Sun, 14 Nov 2010 14:40:00 -0800
From: Tom Herbert <therbert@...gle.com>
To: David Miller <davem@...emloft.net>
Cc: john.r.fastabend@...el.com, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [net-2.6 PATCH] nete zero kobject in rx_queue_release
> So we'll need something like:
>
> if (atomic_dec_and_test(&first->count))
> kfree(first);
> else
> /* clear everything except queue->first */
>
The patches to get rid of the separate refcnt should obviate this
complexity. Could just clear the queue in kobject release.
--
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