[haiku-bugs] Re: [Haiku] #3723: Improving disk performance by changing VirtualMemory path

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Sun, 12 Jun 2011 16:20:01 -0000

#3723: Improving disk performance by changing VirtualMemory path
-----------------------------------------+---------------------------
   Reporter:  haiqu                      |      Owner:  axeld
       Type:  enhancement                |     Status:  new
   Priority:  normal                     |  Milestone:  R1
  Component:  Preferences/VirtualMemory  |    Version:  R1/pre-alpha1
 Resolution:                             |   Keywords:
 Blocked By:                             |   Blocking:
Has a Patch:  0                          |   Platform:  All
-----------------------------------------+---------------------------

Comment (by axeld):

 Replying to [comment:1 hamish]:
 > Is it acceptable to use the C++ APIs in the kernel code -- in order to
 test for free space on drives and such -- or would it be preferable to use
 C functions such as those defined in kernel/fs_info.h?

 In addition to what Ingo wrote: the functions in kernel/ should pretty
 much all be available (with the exception of spawn_thread() in favor of
 spawn_kernel_thread() IIRC), and might provide enough data for the issue.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/3723#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: