On 25-May 15:26, Quentin Perret wrote: > And also, I understand these functions are large, but if we _really_ > want to inline them even though they're big, why not putting them in > sched-pelt.h ?
Had the same tought at first... but then I recalled that header is generated from a script. Thus, eventually, it should be a different one. > We probably wouldn't accept that for everything, but > those PELT functions are used all over the place, including latency > sensitive code paths (e.g. task wake-up). We should better measure the overheads, if any, and check what (a modern) compiler does. Maybe some hackbench run could help on the first point. > Thanks, > Quentin -- #include <best/regards.h> Patrick Bellasi