Re: [PATCH] add execute_in_process_context() API

From: James Bottomley
Date: Wed Feb 08 2006 - 10:56:04 EST


On Wed, 2006-02-08 at 16:18 +0100, Andi Kleen wrote:
> On Wednesday 08 February 2006 16:15, James Bottomley wrote:
> > The problem is that
> > there's no real way to cope with failure in this case.
>
> Then you can't use GFP_ATOMIC. You have to redesign.

My mailer seems to have deleted the part of the email with your redesign
suggestion in it...

My initial point is that the current scsi_reap_target() infrastructure
is more broken than the new API, so it does represent an improvement. I
could also mitigate (but not solve) the problem by adding a wqw slab.
However, I really think the redesign would be along the lines I
suggested to Jens; do you agree?

James


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