RE: 2.6.8-rc3-mm2: Debug: sleeping function called from invalid context at mm/mempool.c:197
From: Andrew Vasquez
Date: Mon Aug 09 2004 - 19:01:34 EST
On Monday, August 09, 2004 6:42 AM, linux-kernel-owner@xxxxxxxxxxxxxxx
wrote:
> I see the msg below while running on 2.6.8-rc3-mm2, but not
> on the plain
> rc3 tree;
> ditto for rc1-mm1 vs rc1, which is as far back as I've gone so far.
>
This allocation should be done with GFP_ATOMIC flags. The attached
patch should apply cleanly to any recent kernel.
Regards,
Andrew Vasquez
Attachment:
mpool_alloc.diff
Description: mpool_alloc.diff