Am 27.01.2018 19:37, schrieb Denys Vlasenko: > On Wed, Jan 24, 2018 at 1:28 AM, Povilas Kanapickas <povi...@radix.lt> wrote: >>>> 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? > > This may depend on toolchain and libc. In my test, with my toolchain, > it was not a win.
Hi Denys, maybe i missed it somewhere but did you provide some numbers ? Did it grow for one byte or kilobytes ? re, wh _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox