[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH v3 00/12] Extend scheduling API
The current patch series introduce scheduling API extensions such as handling thread attributes and thread resources cleanup. The goal is to extend the API so that it can be easier to integrate with pthread API. Changes since v1: - Update exported symbols file - Check if time slice is greater than timer tick - Add default values for priority and time slice attributes Changes since v2: - Remove thread info and keep just the detach flag - Split last patch of v2 in 3 different ones - Add private field on thread structure for user frameworks Costin Lupu (12): arch/*: Add STACK_MASK_TOP bit mask lib/uksched: Add function for allocating scheduler common info lib/uksched: Introduce thread attributes lib/uksched: Introduce detached flag for threads lib/uksched: Add support for waiting threads lib/uksched: Revisit thread exiting logic lib/uksched: Add function for killing threads lib/uksched: Set scheduler reference in scheduler implementation lib/uksched: Revisit public scheduling functions lib/ukschedcoop: Remove redundant config dependencies lib/uksched: Add re-entrancy support for newlib lib/uksched: Add private field for user include/uk/arch/limits.h | 2 + lib/ukdebug/print.c | 2 +- lib/uknetdev/netdev.c | 2 +- lib/uksched/Makefile.uk | 1 + lib/uksched/exportsyms.uk | 17 +++++ lib/uksched/include/uk/sched.h | 102 +++++++++++++++++++++---- lib/uksched/include/uk/thread.h | 35 +++++++-- lib/uksched/include/uk/thread_attr.h | 82 +++++++++++++++++++++ lib/uksched/sched.c | 36 +++++++-- lib/uksched/thread.c | 106 +++++++++++++++++++++++++- lib/uksched/thread_attr.c | 139 +++++++++++++++++++++++++++++++++++ lib/ukschedcoop/Config.uk | 2 - lib/ukschedcoop/schedcoop.c | 57 +++++--------- plat/xen/x86/arch_events.c | 2 +- plat/xen/x86/entry64.S | 2 +- plat/xen/xenbus/xs_comms.c | 2 +- 16 files changed, 519 insertions(+), 70 deletions(-) create mode 100644 lib/uksched/include/uk/thread_attr.h create mode 100644 lib/uksched/thread_attr.c -- 2.11.0 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |