Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964849AbVLSQnf (ORCPT ); Mon, 19 Dec 2005 11:43:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964850AbVLSQne (ORCPT ); Mon, 19 Dec 2005 11:43:34 -0500 Received: from gateway-1237.mvista.com ([12.44.186.158]:23032 "EHLO hermes.mvista.com") by vger.kernel.org with ESMTP id S964849AbVLSQne (ORCPT ); Mon, 19 Dec 2005 11:43:34 -0500 Subject: RE: [PATCH rc5-rt2 2/3] plist: add new implementation From: Daniel Walker To: "Perez-Gonzalez, Inaky" Cc: Oleg Nesterov , Ingo Molnar , linux-kernel@vger.kernel.org, Steven Rostedt In-Reply-To: References: Content-Type: text/plain Date: Mon, 19 Dec 2005 08:43:28 -0800 Message-Id: <1135010608.30466.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 982 Lines: 29 On Sun, 2005-12-18 at 14:31 -0800, Perez-Gonzalez, Inaky wrote: > >From: Oleg Nesterov > > > >New implementation. It is smaller, and in my opinion cleaner. > >User-space test: http://www.tv-sign.ru/oleg/plist.tgz > > > >Like hlist, it has different types for head and node: pl_head/pl_node. > > > >pl_head does not have ->prio field. This saves sizeof(int), and we > >don't need to have it in plist_del's parameter list. This is also good > >for typechecking. > > > >Like list_add(), plist_add() does not require initialization on > pl_node, > >except ->prio. > > /me suggests adding documentation to the header file succintly > explaining how it is implemented and a quick usage guide (along > with (C) info). I second that. Daniel - 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/