<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kmi/common/tcb.c, branch master</title>
<subtitle>ACTIVE - Kernel with migrating threads as IPC</subtitle>
<id>https://metanimi.dy.fi/cgit/kmi/atom?h=master</id>
<link rel='self' href='https://metanimi.dy.fi/cgit/kmi/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/'/>
<updated>2024-05-24T15:13:43Z</updated>
<entry>
<title>rename common to src</title>
<updated>2024-05-24T15:13:43Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2024-05-24T10:24:27Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/commit/?id=bc600ecc3bdf0f189861dfb840f70c2339a7a853'/>
<id>urn:sha1:bc600ecc3bdf0f189861dfb840f70c2339a7a853</id>
<content type='text'>
+ I keep starting to type src and wondering why autocomplete won't work,
  I guess src is just uncounciously a better name
</content>
</entry>
<entry>
<title>improve id handling</title>
<updated>2024-05-23T16:59:39Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2024-05-23T16:54:55Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/commit/?id=6a7073e5f262db9a4578ff00b5b28e34335564ce'/>
<id>urn:sha1:6a7073e5f262db9a4578ff00b5b28e34335564ce</id>
<content type='text'>
+ The number of allowed threads running at the same time is limited to
  num_tids, but each thread's ID can be any larger than that. This
  should make ID reuse a lot more rare, and probably makes certain kinds
  of time-of-check-to-time-of-use attacks more difficult
</content>
</entry>
<entry>
<title>experimenting with removing lists threads per proc</title>
<updated>2023-10-09T13:15:06Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2023-10-09T13:13:47Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/commit/?id=363d0ec55f1d7e0d44f14cb1d63fdca4bc72efde'/>
<id>urn:sha1:363d0ec55f1d7e0d44f14cb1d63fdca4bc72efde</id>
<content type='text'>
+ Gives a very slight improvement to RPC speeds, but mostly cleans up
  code a little bit.
</content>
</entry>
<entry>
<title>move rpc stack handling to arch-specific code</title>
<updated>2023-10-09T13:15:06Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2023-10-09T11:57:18Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/commit/?id=9c9d589ea310f1290e4d6d2019fc8b51d9a86e42'/>
<id>urn:sha1:9c9d589ea310f1290e4d6d2019fc8b51d9a86e42</id>
<content type='text'>
+ Fairly considerable speedup, as we don't have to look up the rpc pte
  every time separately, instead cacheing them. Adds an architecture
  specific limitation to total rpc stack size, though.
</content>
</entry>
<entry>
<title>give compiler more room to optimize rpc invocation</title>
<updated>2023-06-05T17:31:44Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2023-06-05T17:31:44Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/commit/?id=67831847a3fb211784e1d143d472fd86c0e5fab8'/>
<id>urn:sha1:67831847a3fb211784e1d143d472fd86c0e5fab8</id>
<content type='text'>
+ Try to write arguments to memory as fast as possible to free up some
  registers that the compiler can then play with.
  Qemu runs ~1 700 000 rpc's per second, visionfive2 @1GHz (I think) ~800 000.
</content>
</entry>
<entry>
<title>update license stuff</title>
<updated>2023-05-01T19:02:49Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2023-05-01T19:02:49Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/commit/?id=05d4244f68e35c1bef6488292bf9730df3636fd9'/>
<id>urn:sha1:05d4244f68e35c1bef6488292bf9730df3636fd9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rename to kmi</title>
<updated>2023-04-30T14:06:02Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2023-04-30T14:06:02Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/commit/?id=ea5ebe0809fb31b9f125ac0689f706cc5f3f078f'/>
<id>urn:sha1:ea5ebe0809fb31b9f125ac0689f706cc5f3f078f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make process ids signed</title>
<updated>2023-01-16T13:42:57Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2023-01-16T13:41:58Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/commit/?id=faf3710ec1024810d0255f6356cd0a9d12d2cf9b'/>
<id>urn:sha1:faf3710ec1024810d0255f6356cd0a9d12d2cf9b</id>
<content type='text'>
+ Unlikely to ever run into billions of threads, and this keeps in line
  with stuff like Linux. Also allows C to relatively painlessly
  implement hashmaps of pids, if neccessary.
</content>
</entry>
<entry>
<title>start looking into memory handling</title>
<updated>2022-12-01T00:05:19Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2022-12-01T00:05:19Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/commit/?id=131af4eec38752a27e6e56579fbf76178e022ec1'/>
<id>urn:sha1:131af4eec38752a27e6e56579fbf76178e022ec1</id>
<content type='text'>
+ Now 10M alloc/frees succeed, which totals more memory than the virtual
  machine has, so no too obvious leaks are occuring. For future
  debugging speed, changed 10M to 1M.

+ Also quick fix to rpcs, stacks are now assigned. Not entirely sure why
  they worked before this, but good that I found it.
</content>
</entry>
<entry>
<title>improve tcb list handling</title>
<updated>2022-11-13T16:51:28Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2022-11-13T16:51:28Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/kmi/commit/?id=d312c853a8c9e6e2fd457fa5f840e65a9a738e7d'/>
<id>urn:sha1:d312c853a8c9e6e2fd457fa5f840e65a9a738e7d</id>
<content type='text'>
</content>
</entry>
</feed>
