Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261757AbVEJTpR (ORCPT ); Tue, 10 May 2005 15:45:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261761AbVEJTpQ (ORCPT ); Tue, 10 May 2005 15:45:16 -0400 Received: from gateway-1237.mvista.com ([12.44.186.158]:18430 "EHLO av.mvista.com") by vger.kernel.org with ESMTP id S261757AbVEJTo2 (ORCPT ); Tue, 10 May 2005 15:44:28 -0400 Subject: RE: [PATCH 2/4] rt_mutex: add new plist implementation From: Daniel Walker Reply-To: dwalker@mvista.com To: "Perez-Gonzalez, Inaky" Cc: Oleg Nesterov , Ingo Molnar , linux-kernel@vger.kernel.org In-Reply-To: References: Content-Type: text/plain Organization: MontaVista Message-Id: <1115754260.14326.26.camel@dhcp153.mvista.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 10 May 2005 12:44:20 -0700 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 828 Lines: 21 On Tue, 2005-05-10 at 11:39, Perez-Gonzalez, Inaky wrote: > > I guess I am still very biased by my implementation, where returning > that was almost free because of how the functions where implemented > (which steamed from the fact that they had to always compute the > new priority to store it in the head). > > So as you say, the best way is wrapping your primitives around. I'd > suggest a shorter postfix, something like _prio() or _chkprio(). I still say re-implementation of plist is a waste .. Why re-make the wheel when you have a perfectly good starting point . 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/