Theodore Dubois
be0312e7d8
Reduce overhead in user_read and user_write
...
Now memcpys an entire page at a time instead of just one byte at time,
skipping most of the calls to mem_ptr. This significantly speeds up
x11vnc because it sends a lot of big buffers over sockets.
2019-12-24 17:55:31 -08:00
Theodore Dubois
996a4b6cbf
Add locking around mapping changes in mem_ptr
...
Fixed #104
2019-11-26 13:05:28 -08:00
Theodore Dubois
6735d2d28e
Undo attempted fix for race condition that caused deadlock
2019-05-26 12:24:23 -07:00
Theodore Dubois
f92703986d
Delete existing SSE code
2019-05-19 17:14:39 -07:00
Theodore Dubois
7a82537309
Revert "Use a read lock on pagetables while reading/writing user memory"
...
This reverts commit 230678d93e10f61ca205471ee230eab9a1877b9d.
It was hanging on Linux and I was too lazy to debug lol.
2019-01-11 15:04:54 -08:00
Theodore Dubois
230678d93e
Use a read lock on pagetables while reading/writing user memory
2019-01-10 08:40:35 -05:00
Theodore Dubois
4a8efe8d01
Make various memory management things shared between threads
2018-10-07 13:02:15 -07:00
Theodore Dubois
6a907425e6
Rename process to task
2018-01-21 12:44:55 -08:00
Theodore Dubois
255f8f18c8
Use a per-cpu TLB
2017-12-24 16:02:15 -08:00
Theodore Dubois
ad7713ab95
Make crosspage memory access work
2017-11-14 16:45:32 -08:00
Theodore Dubois
f1e63c43e0
Rename sys directory to kernel
...
A number of the headers in it were conflicting with macOS system
headers.
2017-10-13 16:54:11 -07:00