David Xu
9313eb5537
Micro optimization for context switch. Eliminate code for saving gs.base
...
and fs.base. We always update pcb.pcb_gsbase and pcb.pcb_fsbase
when user wants to set them, in context switch routine, we only need to
write them into registers, we never have to read them out from registers
when thread is switched away. Since rdmsr is a serialization instruction,
micro benchmark shows it is worthy to do.
Reviewed by: peter, jhb
2005-10-17 23:10:31 +00:00
..
2005-10-16 20:58:22 +00:00
2005-10-17 23:10:31 +00:00
2005-10-17 14:51:01 +00:00
2005-10-16 20:22:36 +00:00
2005-09-16 01:26:17 +00:00
2005-08-08 19:55:32 +00:00
2005-10-15 05:57:34 +00:00
2005-10-17 18:31:37 +00:00
2005-10-13 21:11:20 +00:00
2005-08-18 00:30:22 +00:00
2005-10-02 22:57:31 +00:00
2005-10-17 08:20:44 +00:00
2005-10-17 03:29:53 +00:00
2005-10-09 17:10:35 +00:00
2005-10-16 21:39:29 +00:00
2005-08-09 10:20:02 +00:00
2005-10-17 15:51:28 +00:00
2005-10-16 20:58:22 +00:00
2005-09-28 15:01:58 +00:00
2005-10-17 03:29:53 +00:00
2005-10-16 21:07:31 +00:00
2005-10-06 19:06:07 +00:00
2005-10-14 23:30:17 +00:00
2005-10-16 20:44:18 +00:00
2005-08-30 14:27:47 +00:00
2005-09-11 16:04:56 +00:00
2005-08-09 10:20:02 +00:00
2005-10-16 20:44:18 +00:00
2005-10-12 19:52:16 +00:00
2005-10-17 13:47:31 +00:00
2005-09-26 20:35:45 +00:00
2005-09-07 10:06:14 +00:00
2005-08-22 07:05:14 +00:00
2005-09-07 10:06:14 +00:00
2005-07-29 13:22:37 +00:00
2005-10-02 08:32:49 +00:00
2005-07-14 20:08:27 +00:00
2005-10-06 19:04:08 +00:00
2005-09-27 18:09:42 +00:00
2005-08-18 11:58:03 +00:00
2005-10-16 20:22:56 +00:00
2005-09-25 21:29:32 +00:00
2005-10-14 18:51:30 +00:00
2005-10-14 12:43:47 +00:00
2005-09-19 16:51:43 +00:00
2005-10-09 02:37:27 +00:00
2005-10-15 02:09:43 +00:00
2005-10-16 20:40:40 +00:00
2005-09-24 20:11:07 +00:00
2005-10-16 21:31:46 +00:00
2005-10-12 06:56:00 +00:00