Re: Possible memory leak in xfrm_policy_insert

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   From: Herbert Xu <herbert@gondor.apana.org.au>
   Date: Thu, 12 Jun 2003 19:14:46 +1000

   On Thu, Jun 12, 2003 at 01:54:43AM -0700, David S. Miller wrote:
   > See net/core/dst.c, something like that.  A periodically scanning
   > process which watches for all non-self references to disappear.
   
   OK that all looks good, but what is the advantage of this over the
   current approach?

You don't need all of this magic cpu mask stuff, it just magically
takes care of itself:

1) cpus going up just init their table and start the timer
2) cpus going down completely flush their local table and
   delete the timer

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux