• 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: fcntl() equivelent for kFSForceReadMask?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fcntl() equivelent for kFSForceReadMask?


  • Subject: Re: fcntl() equivelent for kFSForceReadMask?
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Mon, 29 Oct 2012 16:59:47 +0000

On 29 Oct 2012, at 16:12, James Bucanek <email@hidden> wrote:

> I'm not sure how I would apply madvise() to the data of an open file. It appears to only deal with memory addresses and VM swap management.

You would have to open the file and memory map it.  On Mac OS X virtual memory and the file system cache are the same thing (hence the "Unified" in "Unified Buffer Cache").

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.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: fcntl() equivelent for kFSForceReadMask? (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: fcntl() equivelent for kFSForceReadMask?
  • Next by Date: Re: fcntl() equivelent for kFSForceReadMask?
  • Previous by thread: Re: fcntl() equivelent for kFSForceReadMask?
  • Next by thread: Re: fcntl() equivelent for kFSForceReadMask?
  • Index(es):
    • Date
    • Thread