vfs_context_create / vnode_lookup causing performance issue

Questions and Answers about all things *OS (macOS, iOS, tvOS, watchOS)

vfs_context_create / vnode_lookup causing performance issue

Postby rameshprusty » Tue Jun 06, 2017 5:30 am

To get vnode form a path osx provides API vnode_lookup, vnode_lookup takes last argument as vfs_context_t. The context created by the API vfs_context_create which is process specific. So can someone help me to understand why the context creation happeing on process context.

The vfs_context_create and vnode_lookup taking a lot of time. So is there any alternative way to get VNODE from path.
Or Can we cache context so that if the same process comes again we will use the context in the vnode_lookup API.
Posts: 2
Joined: Mon Jun 05, 2017 10:01 am

Return to Questions and Answers

Who is online

Users browsing this forum: No registered users and 3 guests