diff --git a/src/system/kernel/vm/vm.cpp b/src/system/kernel/vm/vm.cpp index c89c3c9292..6d4d9309b4 100644 --- a/src/system/kernel/vm/vm.cpp +++ b/src/system/kernel/vm/vm.cpp @@ -2362,12 +2362,16 @@ _vm_map_file(team_id team, const char* name, void** _address, cache->Unlock(); +#if 0 +// TODO: Fix ticket #3835 before enabling pre-fetching +// http://dev.haiku-os.org/ticket/3835 if (status == B_OK) { // TODO: this probably deserves a smarter solution, ie. don't always // prefetch stuff cache_prefetch_vnode(vnode, offset, min_c(size, 10LL * 1024 * 1024)); // prefetches at max 10 MB starting from "offset" } +#endif if (status != B_OK) return status;