summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYury Norov <yury.norov@gmail.com>2022-09-19 14:05:58 -0700
committerYury Norov <yury.norov@gmail.com>2022-10-01 10:22:58 -0700
commitfdae96a3fc7f70eb8ff9619550d7fa604719626a (patch)
tree98dc830d9a0fde79da8df36e5e141d661e431a6b /tools/perf/scripts/python
parent4fe49b3b97c2640147c46519c2a6fdb06df34f5f (diff)
downloadkernel-fdae96a3fc7f70eb8ff9619550d7fa604719626a.tar.gz
lib/find: optimize for_each() macros
Moving an iterator of the macros inside conditional part of for-loop helps to generate a better code. It had been first implemented in commit 7baac8b91f9871ba ("cpumask: make for_each_cpu_mask a bit smaller"). Now that cpumask for-loops are the aliases to bitmap loops, it's worth to optimize them the same way. Bloat-o-meter says: add/remove: 8/12 grow/shrink: 147/592 up/down: 4876/-24416 (-19540) Signed-off-by: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
arm/mach-s5pv210/mach-goni.c?h=linux-6.12.y&id=f8060f5446b1f2782f0a8ca9be2d870ea4198aee'>Merge tag 'gic-vic-to-irqchip' of git://sources.calxeda.com/kernel/linux into...Olof Johansson 2013-01-12ARM: remove unneeded vic.h includesRob Herring 2013-01-12ARM: remove mach .handle_irq for VIC usersRob Herring 2012-12-24ARM: delete struct sys_timerStephen Warren 2012-11-07Merge branch 'next/cleanup-samsung' into next/cleanup-samsung-2Kukjin Kim 2012-10-12Merge tag 'fbdev-updates-for-3.7' of git://github.com/schandinat/linux-2.6Linus Torvalds 2012-09-21ARM: EXYNOS: remove the MMC_CAP2_BROKEN_VOLTAGEJaehoon Chung 2012-09-19ARM: samsung: move platform_data definitionsArnd Bergmann 2012-08-08include/video: move fimd register headers from platform to include/videoLeela Krishna Amudala 2012-07-19ARM: SAMSUNG: no need to set the value for clk_xusbxti when it is 24MhzKukjin Kim 2012-07-13ARM: S5PV210: Add audio platform device in Goni boardSachin Kamat 2012-06-01Merge tag 'fbdev-updates-for-3.5' of git://github.com/schandinat/linux-2.6Linus Torvalds 2012-05-27Merge tag 'omapdss-for-3.5' of git://github.com/tomba/linux into fbdev-nextFlorian Tobias Schandinat 2012-05-17Merge branch 'v3.5-for-usb' of git://git.kernel.org/pub/scm/linux/kernel/git/...Greg Kroah-Hartman 2012-05-16ARM: EXYNOS: Add s3c-hsotg device support for GONI boardLukasz Majewski 2012-05-09usb:hsotg:samsung:cosmetic Move <linux/platform_data/s3c-hsotg.h> to proper p...Lukasz Majewski 2012-05-07Merge tag 'gadget-for-v3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/...Greg Kroah-Hartman 2012-05-04usb:hsotg:samsung: Remove platform dependency from s3c-hsotgLukasz Majewski 2012-04-24ARM: SAMSUNG: add missing MMC_CAP2_BROKEN_VOLTAGE capabilityMarek Szyprowski 2012-04-09ARM: Samsung: Rework platform data of s3c-fb driverThomas Abraham 2012-04-08ARM: S5PV210: fix unused LDO supply field from wm8994_pdataKukjin Kim 2012-01-21ARM: S5PV210: use static declaration when it is not used in other filesKukjin Kim 2012-01-09Merge branch 'samsung/dt' into samsung/cleanupArnd Bergmann 2012-01-05Merge branch 'restart' into for-linusRussell King 2012-01-05ARM: 7252/1: restart: S5PV210: use new restart hookRussell King 2011-12-24ARM: S5PV210: Use gpio_request_oneJingoo Han 2011-12-23ARM: 7248/1: S5PV210: introduce arch/arm/mach-s5pv210/common.[ch]Kukjin Kim