[haiku-bugs] Re: [Haiku] #12501: Page fault in file_cache_sync

  • From: "phoudoin" <trac@xxxxxxxxxxxx>
  • Date: Fri, 11 Dec 2015 17:39:38 -0000

#12501: Page fault in file_cache_sync
-----------------------------+----------------------------
Reporter: jessicah | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/Kernel | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-----------------------------+----------------------------

Comment (by phoudoin):

Well, guess that the vnode VMCache is not set or not valid anymore:

https://cgit.haiku-
os.org/haiku/tree/src/system/kernel/cache/file_cache.cpp#n1278

I also wonder in cache_prefetch_vnode() if the resource guard:

https://cgit.haiku-
os.org/haiku/tree/src/system/kernel/cache/file_cache.cpp#n964

... is not misplaced. What will forbid to exaust, on a big file, the whole
vnode cache in the prefetch loop done below this check?

--
Ticket URL: <https://dev.haiku-os.org/ticket/12501#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: