PikoRT / pikoRT

A tiny Linux-like real-time kernel optimized for ARM Cortex-M chips
Other
304 stars 61 forks source link

Inconsistent behavior on scheduling selection #43

Closed iankuan closed 7 years ago

iankuan commented 7 years ago

sched_select() explicitly work as a scheduler initialization routine. It does the following tasks 1) select scheduler policy 2) initialize relative scheduler structure for specified policy. However, we expect a function to initialize the scheduler with specified policy within start_kernel() not just select specified policy(realized mean from the function name).

CC @jserv , @mlouielu .

jserv commented 7 years ago

Make a comprehensive list about the ways of Linux and NetBSD/FreeBSD manipulation.