Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 9 Jun 2002 10:39:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 9 Jun 2002 10:39:11 -0400 Received: from [195.63.194.11] ([195.63.194.11]:62733 "EHLO mail.stock-world.de") by vger.kernel.org with ESMTP id ; Sun, 9 Jun 2002 10:39:05 -0400 Message-ID: <3D035ACA.2070309@evision-ventures.com> Date: Sun, 09 Jun 2002 15:40:26 +0200 From: Martin Dalecki User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.0rc3) Gecko/20020523 X-Accept-Language: en-us, pl MIME-Version: 1.0 To: "Thomas 'Dent' Mirlacher" CC: Linux-Kernel ML Subject: Re: comments on adding slist.h In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Thomas 'Dent' Mirlacher wrote: > since we've already list.h, what about adding slist.h for > single linked lists? > > single linked list are often used within the kernel, > specifically slist_for_each() could be useful, since we can use > prefetch() there. (slist_for_each could be used 42 times alone net/core) > > any comments, (like, single linked lists are so trivial, there is no > need for a header file. or, the programmer has to take care of using > prefetch() when traversing single linked lists ...) are welcome. > > thanks, > tm Just do it plese. It has been long overdue. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/