[Click] kmalloc GFP_ATOMIC vs GFP_KERNEL

Eddie Kohler kohler at cs.ucla.edu
Sun Jun 12 15:39:23 EDT 2005


Hi Beyers,

Beyers Cronje wrote:
> Hi Eddie, everyone,
> 
> I see click's new operator uses kmalloc with GFP_ATOMIC, has anyone
> tried using GFP_KERNEL?
> What components of Click will be called in interrupt context, apart
> from FromDevice packet_notifier_hook ?

At first glance I think that's it.  It used to be that Click processed packets 
in interrupt context; that's not true anymore, as you note.  So GFP_KERNEL would 
probably work.  Give it a try, let us know!

Eddie


> Any other reason why click should not be blockable ?
> 
> Cheers
> 
> Beyers
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list