lkml.org 
[lkml]   [2005]   [Jun]   [27]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 27 Jun 2005 11:21:50 +0530
FromPrasanna S Panchamukhi <>
SubjectRe: [PATCH][TRIVIAL] Allocate kprobe_table at runtime
Jeff,

On Sun, Jun 26, 2005 at 06:37:29PM +0000, Jeff Sipek wrote:
> Allocates kprobe_table at runtime.
> -	/* FIXME allocate the probe table, currently defined statically */
> +	kprobe_table = kmalloc(sizeof(struct hlist_head)*KPROBE_TABLE_SIZE, GFP_ATOMIC);
Memory allocation using GFP_KERNEL has more chances of success as compared to
GFP_ATOMIC. Why can't we use GFP_KERNEL here?

Thanks
Prasanna

-- 

Prasanna S Panchamukhi
Linux Technology Center
India Software Labs, IBM Bangalore
Ph: 91-80-25044636
<prasanna@in.ibm.com>
-
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-06-27 05:54    [from the cache]
©2003-2008