Re: percpu allocator vs reclaim

From: Tejun Heo
Date: Wed Mar 04 2009 - 11:41:05 EST


Peter Zijlstra wrote:
> Hi Tejun,
>
> Thomas hit the below on recent -tip kernels.
>
> Which basically states that we could deadlock due to reclaim lock
> recursion.
>
> Looking at the code I don't see a quick solution, other than using
> GFP_NOFS, which is a bit of a bother (as I suspect it might easily grow
> __GFP_IO inversion too, if it doesn't already have it).

Ah... maybe percpu allocator should just swallow @gfp. Any better
ideas? :-(

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