Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 0b5203b in mainline


Ignore:
Timestamp:
2018-11-11T15:47:39Z (3 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
8a18d5b
Parents:
9e889f6
git-author:
Jakub Jermar <jakub@…> (2018-11-10 15:05:04)
git-committer:
Jakub Jermar <jakub@…> (2018-11-11 15:47:39)
Message:

Remove futex support from kernel

Files:
2 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • abi/include/abi/syscall.h

    r9e889f6 r0b5203b  
    5454        SYS_WAITQ_SLEEP,
    5555        SYS_WAITQ_WAKEUP,
    56         SYS_FUTEX_SLEEP,
    57         SYS_FUTEX_WAKEUP,
    5856        SYS_SMC_COHERENCE,
    5957
  • kernel/Makefile

    r9e889f6 r0b5203b  
    227227        generic/src/synch/smc.c \
    228228        generic/src/synch/waitq.c \
    229         generic/src/synch/futex.c \
    230229        generic/src/synch/syswaitq.c \
    231230        generic/src/smp/ipi.c \
  • kernel/generic/include/proc/task.h

    r9e889f6 r0b5203b  
    4242#include <synch/spinlock.h>
    4343#include <synch/mutex.h>
    44 #include <synch/futex.h>
    4544#include <adt/list.h>
    4645#include <adt/odict.h>
     
    128127        task_arch_t arch;
    129128
    130         /** Serializes access to futex_list.*/
    131         SPINLOCK_DECLARE(futex_list_lock);
    132         /** List of all futexes accesses by this task. */
    133         list_t futex_list;
    134 
    135129        /** Accumulated accounting. */
    136130        uint64_t ucycles;
  • kernel/generic/src/main/main.c

    r9e889f6 r0b5203b  
    7777#include <mm/reserve.h>
    7878#include <synch/waitq.h>
    79 #include <synch/futex.h>
    8079#include <synch/syswaitq.h>
    8180#include <arch/arch.h>
     
    279278        task_init();
    280279        thread_init();
    281         futex_init();
    282280        sys_waitq_init();
    283281
  • kernel/generic/src/proc/task.c

    r9e889f6 r0b5203b  
    4343#include <mm/slab.h>
    4444#include <atomic.h>
    45 #include <synch/futex.h>
    4645#include <synch/spinlock.h>
    4746#include <synch/waitq.h>
     
    251250        }
    252251
    253         futex_task_init(task);
    254 
    255252        irq_spinlock_lock(&tasks_lock, true);
    256253
  • kernel/generic/src/proc/thread.c

    r9e889f6 r0b5203b  
    520520                         */
    521521                        ipc_cleanup();
    522                         futex_task_cleanup();
    523522                        sys_waitq_task_cleanup();
    524523                        LOG("Cleanup of task %" PRIu64 " completed.", TASK->taskid);
  • kernel/generic/src/syscall/syscall.c

    r9e889f6 r0b5203b  
    4646#include <interrupt.h>
    4747#include <ipc/sysipc.h>
    48 #include <synch/futex.h>
    4948#include <synch/smc.h>
    5049#include <synch/syswaitq.h>
     
    140139        [SYS_WAITQ_SLEEP] = (syshandler_t) sys_waitq_sleep,
    141140        [SYS_WAITQ_WAKEUP] = (syshandler_t) sys_waitq_wakeup,
    142         [SYS_FUTEX_SLEEP] = (syshandler_t) sys_futex_sleep,
    143         [SYS_FUTEX_WAKEUP] = (syshandler_t) sys_futex_wakeup,
    144141        [SYS_SMC_COHERENCE] = (syshandler_t) sys_smc_coherence,
    145142
  • uspace/app/trace/syscalls.c

    r9e889f6 r0b5203b  
    4646        [SYS_TASK_GET_ID] = { "task_get_id", 1, V_ERRNO },
    4747        [SYS_TASK_SET_NAME] = { "task_set_name", 2, V_ERRNO },
    48         [SYS_FUTEX_SLEEP] = { "futex_sleep_timeout", 3, V_ERRNO },
    49         [SYS_FUTEX_WAKEUP] = { "futex_wakeup", 1, V_ERRNO },
    5048
    5149        [SYS_AS_AREA_CREATE] = { "as_area_create", 5, V_ERRNO },
Note: See TracChangeset for help on using the changeset viewer.