diff options
author | Richard Braun <rbraun@sceen.net> | 2017-03-14 20:28:34 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-03-14 20:28:34 +0100 |
commit | 3794ef2cc675449700d52365041d2370288382e4 (patch) | |
tree | ce6b8e989d0bcbbaf1c790b13d5889fa7ea8df7f /arch/x86/machine/pmap.c | |
parent | 7fc48fff768f992dd6d7b6cf8549b5777bf1cf0e (diff) |
x86/pmap: make syncer threads use a high fair-scheduling priority
Diffstat (limited to 'arch/x86/machine/pmap.c')
-rw-r--r-- | arch/x86/machine/pmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/machine/pmap.c b/arch/x86/machine/pmap.c index f1f48f4..567c356 100644 --- a/arch/x86/machine/pmap.c +++ b/arch/x86/machine/pmap.c @@ -1039,8 +1039,7 @@ pmap_mp_setup(void) cpumap_set(cpumap, cpu); thread_attr_init(&attr, name); thread_attr_set_cpumap(&attr, cpumap); - thread_attr_set_policy(&attr, THREAD_SCHED_POLICY_FIFO); - thread_attr_set_priority(&attr, THREAD_SCHED_RT_PRIO_MIN); + thread_attr_set_priority(&attr, THREAD_SCHED_FS_PRIO_MAX); error = thread_create(&syncer->thread, &attr, pmap_sync, syncer); if (error) { |