Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262255AbVD2IVU (ORCPT ); Fri, 29 Apr 2005 04:21:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262260AbVD2IVT (ORCPT ); Fri, 29 Apr 2005 04:21:19 -0400 Received: from gate.crashing.org ([63.228.1.57]:45953 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S262255AbVD2IVR (ORCPT ); Fri, 29 Apr 2005 04:21:17 -0400 Subject: Re: [PATCH][RFC] Linux VM hooks for advanced RDMA NICs From: Benjamin Herrenschmidt To: Brice Goglin Cc: David Addison , Andrew Morton , Andrea Arcangeli , Linux Kernel list In-Reply-To: <42708EE9.3010503@ens-lyon.org> References: <426E62ED.5090803@quadrics.com> <42708EE9.3010503@ens-lyon.org> Content-Type: text/plain Date: Fri, 29 Apr 2005 18:19:32 +1000 Message-Id: <1114762772.7183.285.camel@gaston> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 494 Lines: 20 > > +ioproc_register_ops(struct mm_struct *mm, struct ioproc_ops *ip) > > +{ > > + ip->next = mm->ioproc_ops; > > + mm->ioproc_ops = ip; > > + > > + return 0; > > +} > > + Why not use a list_head along with linux standard list primitives ? Ben. - 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/