Skip to content

Max tasks should be set to 14 in policies.py #2

@akfreed

Description

@akfreed

"MAX_TASKS = 20 "
This is not correct, it should be 14 to match the lower levels of the stack.

The reason for this is that the Ring 0 Manager will put all C struct tasks on a single 4K page for the SMM Inspector to read/write and currently, the size of tasks is 272 bytes. While technically 15 tasks would fit on a page, the limit has been currently set to 14 in case of growth. Note, if more tasks need to be in a bin, the Ring 0 Manager and SMM Inspector could be modified to place/read data from more than one 4K page using a mechanism similar to the STM's page continuation feature but so far this hasn't been an issue.
--@bdelgado1995

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions