# # ChangeLog for libcfa/src/concurrency/kernel # # Generated by Trac 1.2.1 # Nov 9, 2024, 5:28:18 AM Thu, 17 Dec 2020 15:47:41 GMT Thierry Delisle [28c35e2] * libcfa/src/concurrency/kernel/startup.cfa (modified) Fixed startup to use proper protections Thu, 17 Dec 2020 15:34:27 GMT Thierry Delisle [7a70fb2] * libcfa/src/bits/collection.hfa (modified) * libcfa/src/bits/containers.hfa (modified) * libcfa/src/bits/defs.hfa (modified) * libcfa/src/bits/queue.hfa (modified) * libcfa/src/bits/sequence.hfa (modified) * libcfa/src/bits/stack.hfa (modified) * libcfa/src/concurrency/coroutine.cfa (modified) * libcfa/src/concurrency/invoke.h (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) * libcfa/src/concurrency/locks.cfa (modified) * libcfa/src/concurrency/locks.hfa (modified) * libcfa/src/concurrency/thread.cfa (modified) * libcfa/src/heap.cfa (modified) * src/AST/Convert.cpp (modified) * src/AST/Decl.cpp (modified) * src/AST/Decl.hpp (modified) * src/AST/Expr.cpp (modified) * src/AST/ForallSubstitutionTable.cpp (deleted) * src/AST/ForallSubstitutionTable.hpp (deleted) * src/AST/ForallSubstitutor.hpp (deleted) * src/AST/Pass.hpp (modified) * src/AST/Pass.impl.hpp (modified) * src/AST/Pass.proto.hpp (modified) * src/AST/Print.cpp (modified) * src/AST/SymbolTable.cpp (modified) * src/AST/Type.cpp (modified) * src/AST/Type.hpp (modified) * src/AST/TypeEnvironment.cpp (modified) * src/AST/TypeEnvironment.hpp (modified) * src/AST/TypeSubstitution.cpp (modified) * src/AST/TypeSubstitution.hpp (modified) * src/AST/module.mk (modified) * src/GenPoly/GenPoly.cc (modified) * src/ResolvExpr/AdjustExprType.cc (modified) * src/ResolvExpr/CandidateFinder.cpp (modified) * src/ResolvExpr/CastCost.cc (modified) * src/ResolvExpr/CommonType.cc (modified) * src/ResolvExpr/ConversionCost.cc (modified) * src/ResolvExpr/FindOpenVars.cc (modified) * src/ResolvExpr/PolyCost.cc (modified) * src/ResolvExpr/PtrsAssignable.cc (modified) * src/ResolvExpr/PtrsCastable.cc (modified) * src/ResolvExpr/RenameVars.cc (modified) * src/ResolvExpr/RenameVars.h (modified) * src/ResolvExpr/ResolveTypeof.cc (modified) * src/ResolvExpr/Resolver.cc (modified) * src/ResolvExpr/SatisfyAssertions.cpp (modified) * src/ResolvExpr/Unify.cc (modified) * src/SymTab/Mangler.cc (modified) * src/SymTab/Validate.cc (modified) * src/Tuples/TupleAssignment.cc (modified) * tests/.expect/KRfunctions.nast.x86.txt (modified) * tests/.expect/attributes.nast.x86.txt (modified) * tests/.expect/functions.nast.x86.txt (modified) * tests/errors/.expect/completeType.nast.x64.txt (modified) * tests/errors/.expect/completeType.nast.x86.txt (modified) * tests/heap.cfa (modified) * tests/multi_list.cfa (modified) * tests/queue.cfa (modified) * tests/raii/.expect/ctor-autogen-ERR1.nast.txt (modified) * tests/sequence.cfa (modified) * tests/stack.cfa (modified) Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc Thu, 17 Dec 2020 15:33:55 GMT Thierry Delisle [72a3aff] * libcfa/src/concurrency/kernel/startup.cfa (modified) restore the the protection of the heap on destroy pthread Wed, 16 Dec 2020 03:25:12 GMT Peter A. Buhr [dd92fe9] * libcfa/src/concurrency/coroutine.cfa (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) switch to __page_size and __map_prot Mon, 14 Dec 2020 19:31:50 GMT Thierry Delisle [97229d6] * libcfa/src/concurrency/coroutine.cfa (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) Changed stack creation to toggle between mmap and malloc based on the ... Thu, 10 Dec 2020 20:20:33 GMT Thierry Delisle [bfcf6b9] * libcfa/src/concurrency/coroutine.cfa (modified) * libcfa/src/concurrency/coroutine.hfa (modified) * libcfa/src/concurrency/io/setup.cfa (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) * libcfa/src/concurrency/kernel_private.hfa (modified) * libcfa/src/concurrency/preemption.cfa (modified) Stacks are always created with mmap to control page permission Thu, 03 Dec 2020 20:18:55 GMT Thierry Delisle [fe9468e2] * libcfa/src/concurrency/io.cfa (modified) * libcfa/src/concurrency/io/call.cfa.in (modified) * libcfa/src/concurrency/kernel/fwd.hfa (modified) * libcfa/src/concurrency/thread.cfa (modified) Added function thread_rand as a tls-safe version of __tls_rand() Fri, 13 Nov 2020 16:37:11 GMT Thierry Delisle [ac12f1f] * libcfa/src/concurrency/invoke.h (modified) * libcfa/src/concurrency/kernel.cfa (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) * libcfa/src/concurrency/thread.cfa (modified) canary is now a void * so it prints in hexa in gdb Fri, 13 Nov 2020 16:32:15 GMT Thierry Delisle [1b033b8] * libcfa/src/concurrency/kernel.cfa (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) * libcfa/src/concurrency/preemption.cfa (modified) * libcfa/src/concurrency/stats.cfa (modified) * libcfa/src/concurrency/stats.hfa (modified) Alarm loop now has it's own stats block Tue, 10 Nov 2020 17:44:22 GMT Thierry Delisle [82a2fed] * libcfa/src/concurrency/kernel/fwd.hfa (modified) * libcfa/src/concurrency/preemption.cfa (modified) Changed preemption to use code sections rather than atomic access to TLS. Fri, 06 Nov 2020 16:22:57 GMT Thierry Delisle [8fc652e0] * libcfa/src/concurrency/io.cfa (modified) * libcfa/src/concurrency/io/setup.cfa (modified) * libcfa/src/concurrency/kernel.cfa (modified) * libcfa/src/concurrency/kernel.hfa (modified) * libcfa/src/concurrency/kernel/fwd.hfa (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) * libcfa/src/concurrency/kernel_private.hfa (modified) * libcfa/src/concurrency/monitor.cfa (modified) * libcfa/src/concurrency/preemption.cfa (modified) * libcfa/src/concurrency/ready_queue.cfa (modified) Change usage of TLS to more strongly segregate in kernel and out of ... Mon, 02 Nov 2020 17:44:43 GMT Thierry Delisle [e873838] * libcfa/src/concurrency/io/setup.cfa (modified) * libcfa/src/concurrency/kernel.cfa (modified) * libcfa/src/concurrency/kernel/fwd.hfa (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) * libcfa/src/concurrency/kernel_private.hfa (modified) * libcfa/src/concurrency/preemption.cfa (modified) * libcfa/src/concurrency/thread.cfa (modified) Removed __unpark and added support for unpark from the kernel ... Fri, 30 Oct 2020 16:01:12 GMT Thierry Delisle [6a77224] * libcfa/src/concurrency/invoke.h (modified) * libcfa/src/concurrency/io/setup.cfa (modified) * libcfa/src/concurrency/kernel.cfa (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) * libcfa/src/concurrency/kernel_private.hfa (modified) * libcfa/src/concurrency/thread.cfa (modified) Changed park/unpark ticket to be -1,0,1 instead of 0,1,2 because it's ... Fri, 16 Oct 2020 19:31:02 GMT Thierry Delisle [5afb49a] * libcfa/src/concurrency/kernel.cfa (modified) * libcfa/src/concurrency/kernel.hfa (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) * libcfa/src/concurrency/kernel_private.hfa (modified) * libcfa/src/concurrency/monitor.cfa (modified) Split thread_leave so backend is called from the kernel once the ... Thu, 01 Oct 2020 18:41:30 GMT Thierry Delisle [b4b63e8] * libcfa/src/concurrency/invoke.h (modified) * libcfa/src/concurrency/io.cfa (modified) * libcfa/src/concurrency/kernel.cfa (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) * libcfa/src/concurrency/thread.cfa (modified) Fixed missing changes to park/unpark. Added canary to threads to ... Thu, 01 Oct 2020 17:52:53 GMT Thierry Delisle [e235429] * benchmark/io/http/main.cfa (modified) * benchmark/io/http/worker.cfa (modified) * benchmark/io/readv.cfa (modified) * benchmark/readyQ/yield.cfa (modified) * libcfa/src/bits/locks.hfa (modified) * libcfa/src/concurrency/alarm.cfa (modified) * libcfa/src/concurrency/clib/cfathread.cfa (modified) * libcfa/src/concurrency/invoke.h (modified) * libcfa/src/concurrency/io.cfa (modified) * libcfa/src/concurrency/io/setup.cfa (modified) * libcfa/src/concurrency/kernel.cfa (modified) * libcfa/src/concurrency/kernel/fwd.hfa (modified) * libcfa/src/concurrency/kernel_private.hfa (modified) * libcfa/src/concurrency/monitor.cfa (modified) * libcfa/src/concurrency/mutex.cfa (modified) * libcfa/src/concurrency/preemption.cfa (modified) * libcfa/src/concurrency/thread.hfa (modified) * tests/concurrent/park/contention.cfa (modified) * tests/concurrent/park/force_preempt.cfa (modified) * tests/concurrent/park/start_parked.cfa (modified) Removed last parker/unparker information is it was not particularly ... Mon, 28 Sep 2020 19:07:35 GMT Thierry Delisle [7ab28b69] * libcfa/src/concurrency/kernel/startup.cfa (modified) Removed unnecessary line causing a warning Thu, 24 Sep 2020 20:22:05 GMT Thierry Delisle [58d64a4] * libcfa/src/concurrency/io/setup.cfa (modified) * libcfa/src/concurrency/kernel.cfa (modified) * libcfa/src/concurrency/kernel.hfa (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) * libcfa/src/concurrency/preemption.cfa (modified) __processor_id_t now have a bool to state if it is a full processor. ... Tue, 25 Aug 2020 15:33:44 GMT Thierry Delisle [772411a] * libcfa/src/concurrency/kernel/startup.cfa (modified) * libcfa/src/concurrency/ready_queue.cfa (modified) Moved bias to it's own function. Fixed minor assertions triggering. Fri, 21 Aug 2020 03:48:15 GMT Peter A. Buhr [e67a82d] * benchmark/benchcltr.hfa (modified) * benchmark/io/http/options.cfa (modified) * benchmark/io/readv-posix.c (added) * benchmark/io/readv.cfa (modified) * benchmark/readyQ/yield.cfa (modified) * configure.ac (modified) * driver/cc1.cc (modified) * driver/cfa.cc (modified) * libcfa/prelude/bootloader.cf (modified) * libcfa/src/Makefile.am (modified) * libcfa/src/bits/locks.hfa (modified) * libcfa/src/common.hfa (modified) * libcfa/src/concurrency/alarm.hfa (modified) * libcfa/src/concurrency/coroutine.cfa (modified) * libcfa/src/concurrency/invoke.c (modified) * libcfa/src/concurrency/invoke.h (modified) * libcfa/src/concurrency/io.cfa (modified) * libcfa/src/concurrency/io/setup.cfa (modified) * libcfa/src/concurrency/io/types.hfa (modified) * libcfa/src/concurrency/iocall.cfa (modified) * libcfa/src/concurrency/kernel.cfa (modified) * libcfa/src/concurrency/kernel.hfa (modified) * libcfa/src/concurrency/kernel/fwd.hfa (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) * libcfa/src/concurrency/kernel_private.hfa (modified) * libcfa/src/concurrency/ready_queue.cfa (modified) * libcfa/src/concurrency/ready_subqueue.hfa (modified) * libcfa/src/concurrency/stats.cfa (modified) * libcfa/src/concurrency/stats.hfa (modified) * libcfa/src/containers/list.hfa (modified) * libcfa/src/exception.c (modified) * libcfa/src/heap.cfa (modified) * libcfa/src/iostream.cfa (modified) * libcfa/src/iostream.hfa (modified) * libcfa/src/parseargs.cfa (moved) * libcfa/src/parseargs.hfa (moved) * libcfa/src/stdlib.hfa (modified) * src/AST/Attribute.hpp (modified) * src/AST/CVQualifiers.hpp (modified) * src/AST/Convert.cpp (modified) * src/AST/Copy.hpp (added) * src/AST/Decl.cpp (modified) * src/AST/Decl.hpp (modified) * src/AST/Eval.hpp (added) * src/AST/Expr.cpp (modified) * src/AST/Expr.hpp (modified) * src/AST/ForallSubstitutionTable.cpp (added) * src/AST/ForallSubstitutionTable.hpp (added) * src/AST/ForallSubstitutor.hpp (added) * src/AST/Fwd.hpp (modified) * src/AST/GenericSubstitution.cpp (modified) * src/AST/Init.hpp (modified) * src/AST/Node.cpp (modified) * src/AST/Node.hpp (modified) * src/AST/Pass.hpp (modified) * src/AST/Pass.impl.hpp (modified) * src/AST/Pass.proto.hpp (modified) * src/AST/Print.cpp (modified) * src/AST/Stmt.hpp (modified) * src/AST/Type.cpp (modified) * src/AST/Type.hpp (modified) * src/AST/TypeEnvironment.cpp (modified) * src/AST/TypeEnvironment.hpp (modified) * src/AST/TypeSubstitution.cpp (modified) * src/AST/TypeSubstitution.hpp (modified) * src/AST/module.mk (modified) * src/AST/porting.md (modified) * src/Common/Eval.cc (modified) * src/Common/ScopedMap.h (modified) * src/Common/Stats/Heap.cc (modified) * src/Common/Stats/Heap.h (modified) * src/CompilationState.cc (modified) * src/CompilationState.h (modified) * src/InitTweak/InitTweak.cc (modified) * src/Parser/ExpressionNode.cc (modified) * src/ResolvExpr/AdjustExprType.cc (modified) * src/ResolvExpr/Candidate.hpp (modified) * src/ResolvExpr/CandidateFinder.cpp (modified) * src/ResolvExpr/CandidateFinder.hpp (modified) * src/ResolvExpr/CastCost.cc (modified) * src/ResolvExpr/CommonType.cc (modified) * src/ResolvExpr/ConversionCost.cc (modified) * src/ResolvExpr/ConversionCost.h (modified) * src/ResolvExpr/CurrentObject.cc (modified) * src/ResolvExpr/PolyCost.cc (modified) * src/ResolvExpr/PtrsAssignable.cc (modified) * src/ResolvExpr/PtrsCastable.cc (modified) * src/ResolvExpr/RenameVars.cc (modified) * src/ResolvExpr/ResolveTypeof.cc (modified) * src/ResolvExpr/Resolver.cc (modified) * src/ResolvExpr/SatisfyAssertions.cpp (modified) * src/ResolvExpr/SatisfyAssertions.hpp (modified) * src/ResolvExpr/SpecCost.cc (modified) * src/ResolvExpr/Unify.cc (modified) * src/ResolvExpr/typeops.h (modified) * src/SymTab/Autogen.h (modified) * src/SymTab/FixFunction.cc (modified) * src/SymTab/Mangler.cc (modified) * src/SynTree/ApplicationExpr.cc (modified) * src/SynTree/Expression.cc (modified) * src/SynTree/Statement.h (modified) * src/Tuples/Explode.cc (modified) * src/Tuples/Explode.h (modified) * src/Tuples/TupleAssignment.cc (modified) * src/Tuples/TupleExpansion.cc (modified) * src/Tuples/Tuples.cc (modified) * src/config.h.in (modified) * src/main.cc (modified) * tests/.expect/alloc-ERROR.txt (modified) * tests/.expect/castError.txt (modified) * tests/.expect/declarationSpecifier.x64.txt (modified) * tests/.expect/declarationSpecifier.x86.txt (modified) * tests/.expect/gccExtensions.x64.txt (modified) * tests/.expect/gccExtensions.x86.txt (modified) * tests/.expect/init1.txt (modified) * tests/.expect/minmax.txt (modified) * tests/Makefile.am (modified) * tests/alloc.cfa (modified) * tests/errors/.expect/completeType.x64.txt (modified) * tests/errors/.expect/completeType.x86.txt (modified) * tests/exceptions/.expect/conditional-threads.txt (added) * tests/exceptions/.expect/defaults-threads.txt (added) * tests/exceptions/.expect/finally-threads.txt (added) * tests/exceptions/.expect/resume-threads.txt (added) * tests/exceptions/.expect/terminate-threads.txt (added) * tests/exceptions/.expect/trash.txt (added) * tests/exceptions/terminate.cfa (modified) * tests/exceptions/trash.cfa (added) * tests/exceptions/with-threads.hfa (added) * tests/heap.cfa (modified) * tests/linking/.expect/exception-nothreads.txt (added) * tests/linking/.expect/exception-withthreads.txt (added) * tests/linking/exception-nothreads.cfa (added) * tests/linking/exception-withthreads.cfa (added) * tests/linking/withthreads.cfa (modified) * tests/literals.cfa (modified) * tests/minmax.cfa (modified) * tests/pybin/tools.py (modified) * tests/raii/.expect/ctor-autogen-ERR1.txt (modified) * tests/resolutionErrors.cfa (added) * tests/warnings/.expect/self-assignment.txt (modified) fix conflicts Fri, 21 Aug 2020 03:39:01 GMT Peter A. Buhr [88cafe7] * libcfa/src/concurrency/kernel/startup.cfa (modified) add CtxGet routine for ARM 64-bit Fri, 21 Aug 2020 03:10:38 GMT Peter A. Buhr [442b624] * libcfa/src/concurrency/kernel/fwd.hfa (modified) temporarily disable ARM disable/enable_global_interrupts() Tue, 18 Aug 2020 17:58:59 GMT Thierry Delisle [f2384c9a] * libcfa/src/concurrency/kernel.cfa (modified) * libcfa/src/concurrency/kernel/fwd.hfa (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) Added forward/reverse rng for later use in the ready queue Thu, 13 Aug 2020 17:19:20 GMT Thierry Delisle [62502cc4] * libcfa/src/concurrency/kernel/startup.cfa (modified) * libcfa/src/concurrency/ready_queue.cfa (modified) Fixed deadlock where threads could acquire the central scheduler lock ... Mon, 10 Aug 2020 18:43:02 GMT Thierry Delisle [1eb239e4] * libcfa/src/concurrency/alarm.hfa (modified) * libcfa/src/concurrency/io/setup.cfa (modified) * libcfa/src/concurrency/kernel.cfa (modified) * libcfa/src/concurrency/kernel.hfa (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) * libcfa/src/concurrency/kernel_private.hfa (modified) * libcfa/src/concurrency/ready_queue.cfa (modified) Removed snzi and replaced it with a fast/slow path Mon, 03 Aug 2020 17:59:13 GMT Thierry Delisle [3e2b9c9] * libcfa/src/Makefile.am (modified) * libcfa/src/bits/debug.hfa (modified) * libcfa/src/concurrency/invoke.h (modified) * libcfa/src/concurrency/io.cfa (modified) * libcfa/src/concurrency/io/setup.cfa (added) * libcfa/src/concurrency/io/types.hfa (added) * libcfa/src/concurrency/iocall.cfa (modified) * libcfa/src/concurrency/kernel.hfa (modified) * libcfa/src/concurrency/kernel/fwd.hfa (modified) * libcfa/src/concurrency/kernel/startup.cfa (modified) * libcfa/src/concurrency/kernel_private.hfa (modified) * libcfa/src/concurrency/preemption.cfa (modified) * libcfa/src/concurrency/thread.hfa (modified) More restructuring of translation units Unclear if it improves ... Fri, 31 Jul 2020 20:02:04 GMT Thierry Delisle [e660761] * libcfa/src/bits/defs.hfa (modified) * libcfa/src/concurrency/alarm.cfa (modified) * libcfa/src/concurrency/io.cfa (modified) * libcfa/src/concurrency/kernel.cfa (modified) * libcfa/src/concurrency/kernel.hfa (modified) * libcfa/src/concurrency/kernel/fwd.hfa (added) * libcfa/src/concurrency/kernel/startup.cfa (added) * libcfa/src/concurrency/kernel_private.hfa (modified) * libcfa/src/concurrency/preemption.cfa (modified) * libcfa/src/concurrency/preemption.hfa (modified) First attempt at reducing complation time by restructuring the code. ...