kernel: remove some kernel objects from tracking
These are removed as the APIs that use them are not suitable for exporting to userspace. - Kernel workqueues run in supervisor mode, so it would not be appropriate to allow user threads to submit work to them. A future enhancement may extend or introduce parallel API where the workqueue threads may run in user mode (or leave as an exercise to the user). - Kernel slabs store private bookkeeping data inside the user-accessible slab buffers themselves. Alternate APIs are planned here for managing slabs of kernel objects, implemented within the runtime library and not the kernel. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
82edb6e806
commit
c74983e8b4
3 changed files with 0 additions and 16 deletions
|
@ -133,8 +133,6 @@ struct k_mem_partition;
|
|||
enum k_objects {
|
||||
/* Core kernel objects */
|
||||
K_OBJ_ALERT,
|
||||
K_OBJ_DELAYED_WORK,
|
||||
K_OBJ_MEM_SLAB,
|
||||
K_OBJ_MSGQ,
|
||||
K_OBJ_MUTEX,
|
||||
K_OBJ_PIPE,
|
||||
|
@ -142,8 +140,6 @@ enum k_objects {
|
|||
K_OBJ_STACK,
|
||||
K_OBJ_THREAD,
|
||||
K_OBJ_TIMER,
|
||||
K_OBJ_WORK,
|
||||
K_OBJ_WORK_Q,
|
||||
|
||||
/* Driver subsystems */
|
||||
K_OBJ_DRIVER_ADC,
|
||||
|
|
|
@ -36,10 +36,6 @@ const char *otype_to_str(enum k_objects otype)
|
|||
/* Core kernel objects */
|
||||
case K_OBJ_ALERT:
|
||||
return "k_alert";
|
||||
case K_OBJ_DELAYED_WORK:
|
||||
return "k_delayed_work";
|
||||
case K_OBJ_MEM_SLAB:
|
||||
return "k_mem_slab";
|
||||
case K_OBJ_MSGQ:
|
||||
return "k_msgq";
|
||||
case K_OBJ_MUTEX:
|
||||
|
@ -54,10 +50,6 @@ const char *otype_to_str(enum k_objects otype)
|
|||
return "k_thread";
|
||||
case K_OBJ_TIMER:
|
||||
return "k_timer";
|
||||
case K_OBJ_WORK:
|
||||
return "k_work";
|
||||
case K_OBJ_WORK_Q:
|
||||
return "k_work_q";
|
||||
|
||||
/* Driver subsystems */
|
||||
case K_OBJ_DRIVER_ADC:
|
||||
|
|
|
@ -22,8 +22,6 @@ if LooseVersion(elftools.__version__) < LooseVersion('0.24'):
|
|||
|
||||
kobjects = [
|
||||
"k_alert",
|
||||
"k_delayed_work",
|
||||
"k_mem_slab",
|
||||
"k_msgq",
|
||||
"k_mutex",
|
||||
"k_pipe",
|
||||
|
@ -31,8 +29,6 @@ kobjects = [
|
|||
"k_stack",
|
||||
"k_thread",
|
||||
"k_timer",
|
||||
"k_work",
|
||||
"k_work_q",
|
||||
"device"
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue