Messages in this thread | | | Date | Tue, 5 Feb 2013 10:22:18 -0500 | From | Neil Horman <> | Subject | Re: [PATCH v2 60/62] sctp: convert to idr_alloc() |
| |
On Mon, Feb 04, 2013 at 08:42:38AM -0800, Tejun Heo wrote: > Convert to the much saner new idr interface. > > Only compile tested. > > v2: Don't preload if @gfp doesn't contain __GFP_WAIT as the function > may be being called from non-process ocntext. Also, add a comment > explaining @idr_low never becomes zero. > > Signed-off-by: Tejun Heo <tj@kernel.org> > Acked-by: Neil Horman <nhorman@tuxdriver.com> > Cc: Vlad Yasevich <vyasevich@gmail.com> > Cc: Sridhar Samudrala <sri@us.ibm.com> > Cc: linux-sctp@vger.kernel.org > --- > net/sctp/associola.c | 31 +++++++++++++++---------------- > 1 file changed, 15 insertions(+), 16 deletions(-) > I dont' think the documentation was really needed, but the interrupt context fix was a good catch
Acked-by: Neil Horman <nhorman@tuxdriver.com>
| |