[PATCH 0/4] Add SCHED_BATCH and SCHED_IDLE support to chrt

Povilas Kanapickas povilas at radix.lt
Wed Jan 24 00:28:39 UTC 2018


On 23/01/2018 17:09, Denys Vlasenko wrote:
> On Sat, Jan 13, 2018 at 10:25 PM, Povilas Kanapickas <povilas at radix.lt> wrote:
>> Hi,
>>
>> The following patches add SCHED_BATCH and SCHED_IDLE support to chrt.
>> The priority limits are fixed to follow the specification. The last
>> patch avoids hardcoding the values of SCHED_* macros as array indices.
>> Perhaps counter-intuitively, this leads to binary size reduction of
>> 90 bytes on x86-64. However the patch series as a whole still increase
>> the binary size by 173 bytes on x86-64.
> 
> Applied patches 1 and 2. Fixed a problem of patch 3 a bit differently.
> Patch 4 increases the code, not applied.

Thanks a lot.

I'd like to know what I missed with regards to code size increase. Which
architectures do you check the code size on? Is there anything else I
should've known? Maybe the size of the text segment carries more weight
than e.g. rodata or something similar?

Regards,
Povilas



More information about the busybox mailing list