Re: [PATCH] Do not free io context when taking recursive faults in do_exit

From: Jens Axboe
Date: Wed Nov 19 2008 - 04:19:05 EST


On Wed, Nov 19 2008, Nikanth Karthikesan wrote:
> When taking recursive faults in do_exit, if the io_context is not null,
> exit_io_context() is being called. But it might decrement the refcount
> more than once. It is better to leave this task alone.

Agree, it's better to just leave that alone. Applied to for-2.6.29.

--
Jens Axboe

--
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/