Skip to content

merge gen_kobject_list.py and gen_priv_stacks.py #15304

@andrewboie

Description

@andrewboie

Generation of privilege mode stack buffers can take place in the main gen_kobject_list.py script, there's no actual need for them to be separate. Any data/bss for objects declared in the gperf C file already goes in an area of memory which can expand without limit.

We just need the main gperf table; for any thread's kobject, the data field will point to a struct containing the thread ID and a pointer to its stack buffer.

Should help with build times as we only need to scan the DWARF data once instead of twice.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions