ad
d991fcb3b6
More changes to improve kern_descrip.c.
...
- Avoid atomics in more places.
- Remove the per-descriptor mutex, and just use filedesc_t::fd_lock.
It was only being used to synchronize close, and in any case we needed
to take fd_lock to free the descriptor slot.
- Optimize certain paths for the <NDFDFILE case.
- Sprinkle more comments and assertions.
- Cache more stuff in filedesc_t.
- Fix numerous minor bugs spotted along the way.
- Restructure how the open files array is maintained, for clarity and so
that we can eliminate the membar_consumer() call in fd_getfile(). This is
mostly syntactic sugar; the main functional change is that fd_nfiles now
lives alongside the open file array.
Some measurements with libmicro:
- simple file syscalls are like close() are between 1 to 10% faster.
- some nice improvements, e.g. poll(1000) which is ~50% faster.
2009-05-24 21:41:25 +00:00
..
2009-04-14 22:15:16 +00:00
2009-05-08 12:48:43 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 10:11:28 +00:00
2009-04-14 22:15:16 +00:00
2009-05-12 18:39:55 +00:00
2009-05-18 12:03:06 +00:00
2009-05-16 07:18:42 +00:00
2009-04-30 16:23:58 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-18 06:24:05 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-05-13 18:54:34 +00:00
2009-04-18 11:30:30 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-18 10:12:42 +00:00
2009-04-23 14:49:32 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-20 16:05:29 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-05-24 21:41:25 +00:00
2009-05-04 19:45:51 +00:00
2009-04-16 13:52:52 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-05-16 21:37:48 +00:00
2009-05-20 16:20:01 +00:00
2009-04-14 22:15:16 +00:00
2009-04-20 16:01:17 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-26 15:55:50 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-05-13 22:56:42 +00:00
2009-04-14 22:15:16 +00:00
2009-04-20 16:05:29 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-20 16:05:29 +00:00
2009-04-20 16:05:29 +00:00
2009-04-14 22:15:16 +00:00
2009-04-13 00:41:28 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-20 16:05:29 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-12 23:38:17 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-18 09:04:34 +00:00
2009-04-14 22:15:16 +00:00
2009-04-18 03:25:34 +00:00
2009-04-14 22:15:16 +00:00
2009-04-13 00:12:16 +00:00
2009-04-13 00:27:38 +00:00
2009-04-14 22:15:16 +00:00
2009-04-13 00:37:05 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-13 04:16:38 +00:00
2009-04-13 04:24:29 +00:00
2009-04-13 04:35:36 +00:00
2009-04-13 04:36:34 +00:00
2009-04-14 22:15:16 +00:00
2009-05-21 14:44:01 +00:00
2009-04-13 04:37:53 +00:00
2009-05-06 14:30:51 +00:00
2009-04-14 22:15:16 +00:00
2009-04-13 07:06:53 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-13 07:10:25 +00:00
2009-04-14 22:15:16 +00:00
2009-04-13 07:11:37 +00:00
2009-04-13 07:15:32 +00:00
2009-04-14 22:15:16 +00:00
2009-05-12 18:54:31 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-13 07:30:49 +00:00
2009-04-13 07:31:36 +00:00
2009-04-14 09:53:08 +00:00
2009-04-13 10:56:56 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-13 23:02:36 +00:00
2009-04-14 22:15:16 +00:00
2009-05-18 09:37:44 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-13 23:33:25 +00:00
2009-04-13 23:43:36 +00:00
2009-04-13 23:44:49 +00:00
2009-04-13 23:45:50 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-28 02:47:12 +00:00
2009-04-14 22:15:16 +00:00
2009-04-13 23:50:49 +00:00
2009-04-14 05:45:23 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 05:46:25 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 05:55:12 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 06:14:10 +00:00
2009-04-14 06:14:10 +00:00
2009-04-14 06:16:59 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 07:41:36 +00:00
2009-04-14 07:54:51 +00:00
2009-04-14 07:58:38 +00:00
2009-04-14 22:15:16 +00:00
2009-05-01 14:26:10 +00:00
2009-05-04 21:13:58 +00:00
2009-04-14 08:50:06 +00:00
2009-04-14 07:59:17 +00:00
2009-04-14 22:15:16 +00:00
2009-05-01 21:38:19 +00:00
2009-05-02 16:10:49 +00:00
2009-04-14 09:18:41 +00:00
2009-04-14 09:41:30 +00:00
2009-04-14 22:15:16 +00:00
2009-04-14 09:55:07 +00:00
2009-04-14 09:55:07 +00:00
2009-05-08 17:47:00 +00:00
2009-04-14 22:15:16 +00:00