Don't reschedule at the end of every syscall. Speeds up syscalls by about 15%.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20155 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -197,7 +197,7 @@ syscall_dispatcher(uint32 call_num, void *args, uint64 *call_ret)
|
|||||||
|
|
||||||
// dprintf("syscall_dispatcher: done with syscall 0x%x\n", call_num);
|
// dprintf("syscall_dispatcher: done with syscall 0x%x\n", call_num);
|
||||||
|
|
||||||
return B_INVOKE_SCHEDULER;
|
return B_HANDLED_INTERRUPT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -287,6 +287,8 @@ unregister_generic_syscall(const char *subsystem, uint32 version)
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* kSyscallCount and kSyscallInfos here
|
||||||
|
*/
|
||||||
|
// generated by gensyscalls
|
||||||
#include "syscall_table.h"
|
#include "syscall_table.h"
|
||||||
// generate by gensyscalls
|
|
||||||
|
|||||||
Reference in New Issue
Block a user