• 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: Problem using .zerofill / -segaddr to create very large segments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem using .zerofill / -segaddr to create very large segments


  • Subject: Re: Problem using .zerofill / -segaddr to create very large segments
  • From: Alastair Houghton <email@hidden>
  • Date: Sat, 19 Sep 2009 23:13:54 +0100

On 19 Sep 2009, at 21:43, Jay Reynolds Freeman wrote:

My problem concerns keeping a block of memory out of the clutches of the storage allocator (malloc, new, et cetera), so that I can use it for mmap.

Are you *sure* that doing this is necessary?

Reserving address space in this manner seems a pretty odd thing to do, and my inclination would be to look carefully at what you're doing that is making it necessary to use all these ".zerofill"s, since your program is probably better off without them.

Might be worth posting some questions to darwin-dev explaining what the problem is, if you haven't already.

Kind regards,

Alastair.

--
http://alastairs-place.net




_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Problem using .zerofill / -segaddr to create very large segments
      • From: Jay Reynolds Freeman <email@hidden>
References: 
 >Problem using .zerofill / -segaddr to create very large segments (From: Jay Reynolds Freeman <email@hidden>)

  • Prev by Date: Problem using .zerofill / -segaddr to create very large segments
  • Next by Date: C++ std::string.resize calls append instead
  • Previous by thread: Problem using .zerofill / -segaddr to create very large segments
  • Next by thread: Re: Problem using .zerofill / -segaddr to create very large segments
  • Index(es):
    • Date
    • Thread