From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Lameter Subject: Re: [PATCH 5/7] slub: support for bulk free with SLUB freelists Date: Mon, 28 Sep 2015 11:28:15 -0500 (CDT) Message-ID: References: <20150928122444.15409.10498.stgit@canyon> <20150928122629.15409.69466.stgit@canyon> <20150928175114.07e85114@redhat.com> Content-Type: text/plain; charset=US-ASCII Cc: linux-mm@kvack.org, Andrew Morton , netdev@vger.kernel.org, Alexander Duyck , Pekka Enberg , David Rientjes , Joonsoo Kim To: Jesper Dangaard Brouer Return-path: In-Reply-To: <20150928175114.07e85114@redhat.com> Sender: owner-linux-mm@kvack.org List-Id: netdev.vger.kernel.org On Mon, 28 Sep 2015, Jesper Dangaard Brouer wrote: > > Do you really need separate parameters for freelist_head? If you just want > > to deal with one object pass it as freelist_head and set cnt = 1? > > Yes, I need it. We need to know both the head and tail of the list to > splice it. Ok so this is to avoid having to scan the list to its end? x is the end of the list and freelist_head the beginning. That is weird. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org