[haiku-commits] r35508 - haiku/trunk/src/system/kernel/vm

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 17 Feb 2010 16:58:12 +0100 (CET)

Author: bonefish
Date: 2010-02-17 16:58:12 +0100 (Wed, 17 Feb 2010)
New Revision: 35508
Changeset: http://dev.haiku-os.org/changeset/35508/haiku

Modified:
   haiku/trunk/src/system/kernel/vm/vm.cpp
Log:
Added warning to vm_map_physical_memory_vecs().


Modified: haiku/trunk/src/system/kernel/vm/vm.cpp
===================================================================
--- haiku/trunk/src/system/kernel/vm/vm.cpp     2010-02-17 15:40:02 UTC (rev 
35507)
+++ haiku/trunk/src/system/kernel/vm/vm.cpp     2010-02-17 15:58:12 UTC (rev 
35508)
@@ -1354,6 +1354,11 @@
 }
 
 
+/*!    Don't use!
+       TODO: This function was introduced to map physical page vecs to
+       contiguous virtual memory in IOBuffer::GetNextVirtualVec(). It does
+       use a device cache and does not track vm_page::wired_count!
+*/
 area_id
 vm_map_physical_memory_vecs(team_id team, const char* name, void** _address,
        uint32 addressSpec, addr_t* _size, uint32 protection, struct iovec* 
vecs,


Other related posts:

  • » [haiku-commits] r35508 - haiku/trunk/src/system/kernel/vm - ingo_weinhold