• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Swallowed mbufs and number of available mbufs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Swallowed mbufs and number of available mbufs


  • Subject: Re: Swallowed mbufs and number of available mbufs
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Fri, 04 May 2012 13:40:37 +0100

On 4 May 2012, at 13:21, Jean Suisse wrote:

> I was wondering how swallowed mbufs are handled. Do they still live as mbufs, and thus contribute to exhaust the number of total available mbufs to the system ?

Yes.

> Basically, when swallowing mbufs only to reinject them later, should I worry about the number of mbufs I currently have in store ?

Yes.  It's important that your KEXT has a finite limit to the total number of mbufs it swallows, otherwise you run the risk of running the kernel out of them.

This is true for any memory you allocate in the kernel.  So allocating memory and copying the mbuf data to that memory is not a solution to this problem (-:

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Swallowed mbufs and number of available mbufs (From: Jean Suisse <email@hidden>)

  • Prev by Date: Swallowed mbufs and number of available mbufs
  • Next by Date: SSL host name checking doesn't understand wildcard subdomains?
  • Previous by thread: Swallowed mbufs and number of available mbufs
  • Next by thread: SSL host name checking doesn't understand wildcard subdomains?
  • Index(es):
    • Date
    • Thread