RE: [RFC/PATCH] net: add deferred flow cache flush function to be

From: Madalin Bucur <hidden>
Date: 2011-09-26 16:59:23

I've investigated this issue further and come up with a different fix -
modify the flow_cache_flush to prevent it from sleeping and also remove the
deferral of the actual gc work through schedule_work. That caused the gc never
to happen on a highly loaded system that had the cpus occupied servicing
network softirqs.

During the investigation I've also found two places the return value of 
dst_alloc was used without checking, leading to a crash. 

The 3 patches will follow.

-----Original Message-----
From: netdev-owner@vger.kernel.org [mailto:netdev-owner@vger.kernel.org] On 
Behalf Of Eric Dumazet

Problem is sometime we dont want to defer and are in process context.

xfrm_dev_event(  event == NETDEV_DOWN) is probably a place we dont want
to defer the garbage collection.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help