Re: [PATCH][RFC] Linux VM hooks for advanced RDMA NICs

From: Benjamin Herrenschmidt
Date: Fri Apr 29 2005 - 03:22:29 EST



> > +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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/