Skip to content

Priorities are 32bit and overflow too easily #738

@abouteiller

Description

@abouteiller

Followup to #706

Will still need to revisit the priorities being 32 bit later, because dplasma has priorities overflow for 'normal' MT/NT values, and changing the formulas to fit in 32 bits is not super obvious, while the cost of having a 64 bit compare is probably 0.

Describe the solution you'd like

increase priority field to 64 bit and maintain the task structure under a cache line.
Maintaining the size under cache line may not be possible, we would have to decide then if the presumably small cost is worth the risk of breaking user code.

Originally posted by @abouteiller in #706 (comment)

Duplicate of #717

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions