diff --git a/include/kernel_structs.h b/include/kernel_structs.h index e4c79a5780a..ee4a8c4b240 100644 --- a/include/kernel_structs.h +++ b/include/kernel_structs.h @@ -34,11 +34,6 @@ extern "C" { #endif -#define K_NUM_PRIORITIES \ - (CONFIG_NUM_COOP_PRIORITIES + CONFIG_NUM_PREEMPT_PRIORITIES + 1) - -#define K_NUM_PRIO_BITMAPS ((K_NUM_PRIORITIES + 31) >> 5) - /* * Bitmask definitions for the struct k_thread.thread_state field. * diff --git a/kernel/Kconfig b/kernel/Kconfig index 3ac77e71b95..cb5c7379a9c 100644 --- a/kernel/Kconfig +++ b/kernel/Kconfig @@ -41,10 +41,6 @@ config NUM_COOP_PRIORITIES This can be set to zero to disable cooperative scheduling. Cooperative threads always preempt preemptible threads. - Each priority requires an extra 8 bytes of RAM. Each set of 32 extra - total priorities require an extra 4 bytes and add one possible - iteration to loops that search for the next thread to run. - The total number of priorities is NUM_COOP_PRIORITIES + NUM_PREEMPT_PRIORITIES + 1 @@ -63,10 +59,6 @@ config NUM_PREEMPT_PRIORITIES This can be set to 0 to disable preemptible scheduling. - Each priority requires an extra 8 bytes of RAM. Each set of 32 extra - total priorities require an extra 4 bytes and add one possible - iteration to loops that search for the next thread to run. - The total number of priorities is NUM_COOP_PRIORITIES + NUM_PREEMPT_PRIORITIES + 1