diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-30 19:20:21 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-30 19:20:21 +0300 |
| commit | 314bca3dc19a864c76153bfcd5a58be8c40000f9 (patch) | |
| tree | 9aba30284fce66e149a7472adea1cb4037e49463 /src/tcb.c | |
| parent | 1a2e1fff7ce4b8fd8db46549d81e71e76b842da3 (diff) | |
| download | kmi-314bca3dc19a864c76153bfcd5a58be8c40000f9.tar.gz kmi-314bca3dc19a864c76153bfcd5a58be8c40000f9.zip | |
improvements to shared memory handling
+ Now each shared region is reference counter (technically each region
is refernce counted, private regions just have a count of 1).
Also, syscalls that touch the TLB get flushed, but should probably
look into where else this flushing might be needed.
Diffstat (limited to 'src/tcb.c')
| -rw-r--r-- | src/tcb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -199,7 +199,7 @@ struct tcb *create_thread(struct tcb *p) stat_t r = OK; if (p) r = __init_owned_thread(p, t); - else r = __init_free_thread(t); + else r = __init_free_thread(t); if (r) { free_page(MM_O0, bottom); |
