lkml.org 
[lkml]   [2002]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] [2.4.20-pre10] dpt_i2o fix
From
Date
On Tue, 2002-10-15 at 14:40, Ducrot Bruno wrote:
> The first chunk of attached patch alloc wait_data with
> kmalloc(..., GFP_ATOMIC) instead of GPF_KERNEL
> in the function adpt_i2o_post_wait() because this function
> is called in the function adpt_i2o_passthru() (line 1717 or
> so) but with a spin_lock held.

Given the nature of the usage I think its probably better to fix it
properly than to just hack it up to be GFP_ATOMIC. If the caller was to
pass in the wait_data buffer then the problem could be fixed cleanly

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.065 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site