cosmopolitan/test/libc/calls
Justine Tunney 8c645fa1ee
Make mmap() scalable
It's now possible to create thousands of thousands of sparse independent
memory mappings, without any slowdown. The memory manager is better with
tracking memory protection now, particularly on Windows in a precise way
that can be restored during fork(). You now have the highest quality mem
manager possible. It's even better than some OSes like XNU, where mmap()
is implemented as an O(n) operation which means sadly things aren't much
improved over there. With this change the llamafile HTTP server endpoint
at /tokenize with a prompt of 50 tokens is now able to handle 2.6m r/sec
2024-07-05 23:26:00 -07:00
..
access_test.c Delete ASAN 2024-06-22 05:45:49 -07:00
BUILD.mk Implement proper time zone support 2024-05-04 23:06:37 -07:00
cachestat_test.c Simplify memory manager 2024-07-05 05:47:15 -07:00
chdir_test.c Delete ASAN 2024-06-22 05:45:49 -07:00
clock_getres_test.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
clock_gettime_test.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
clock_nanosleep_test.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
closefrom_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
commandv_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
copy_file_range_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
devfd_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
dup_test.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
fchdir_test.c Bring back gc() function 2024-01-08 10:26:28 -08:00
fchmod_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fchmodat_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fcntl_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fileexists_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ftruncate_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getcontext_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getcwd_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getgroups_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getitimer_test.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
getprogramexecutablename_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getrandom_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
ioctl_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
life.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
lock2_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
lock_ofd_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
lock_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
lseek_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
madvise_test.c Simplify memory manager 2024-07-05 05:47:15 -07:00
makedirs_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mkdir_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mkntcmdline_test.c Support shebang on Windows 2024-05-20 22:11:42 -07:00
mkntenvblock_test.c Bring back gc() function 2024-01-08 10:26:28 -08:00
mkntpath_test.c Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
open_test.c Delete ASAN 2024-06-22 05:45:49 -07:00
openatemp_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
openbsd_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pipe_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pledge2_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pledge_test.c Fix bugs with new memory manager 2024-06-29 10:53:57 -07:00
poll_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
posix_fadvise_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pread_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
preadv_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
raise_test.c Make mmap() scalable 2024-07-05 23:26:00 -07:00
read_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
readansi_test.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
readlinkat_test.c Fix bug with realpath() on Windows 2024-05-29 18:47:01 -07:00
readwrite_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
renameat_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
reservefd_test.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
sched_setscheduler_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
seccomp_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setrlimit_test.c Make mmap() scalable 2024-07-05 23:26:00 -07:00
shm_open_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sig_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sigaction_test.c Delete ASAN 2024-06-22 05:45:49 -07:00
sigbus_test.c Simplify memory manager 2024-07-05 05:47:15 -07:00
signal_test.c Favor siginfo_t over struct siginfo 2024-05-28 02:34:17 -07:00
sigpending_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigprocmask_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigsuspend_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigtimedwait_test.c Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
specialfile_test.c Add /dev/(u)random on NT (#1163) 2024-05-03 07:59:51 -07:00
splice_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
stackoverflow1_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
stackoverflow2_test.c Bring back gc() function 2024-01-08 10:26:28 -08:00
stackoverflow3_test.c Make improvements 2024-01-29 16:31:58 -08:00
stackoverflow4_test.c Bring back gc() function 2024-01-08 10:26:28 -08:00
stat_test.c Bring back gc() function 2024-01-08 10:26:28 -08:00
statfs_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
symlinkat_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timespec_test.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
tiny64.elf Bump support up to FreeBSD 13 and NetBSD 9.2 2022-06-11 10:36:17 -07:00
unlinkat_test.c Delete ASAN 2024-06-22 05:45:49 -07:00
unveil_test.c Rewrite memory manager 2024-06-22 05:45:11 -07:00
utimensat_test.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
vfork_test.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
write_test.c Delete ASAN 2024-06-22 05:45:49 -07:00
writev_test.c Delete ASAN 2024-06-22 05:45:49 -07:00
zipread.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00