Commit b34111a
committed
Merge tag 'smp-core-2025-07-27' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull smp updates from Thomas Gleixner:
"A set of updates for SMP function calls:
- Improve locality of smp_call_function_any() by utilizing
sched_numa_find_nth_cpu() instead of picking a random CPU
- Wait for work completion in smp_call_function_many_cond() only when
there was actually work enqueued
- Simplify functions by unutlizing the appropriate cpumask_*()
interfaces
- Trivial cleanups"
* tag 'smp-core-2025-07-27' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
smp: Wait only if work was enqueued
smp: Defer check for local execution in smp_call_function_many_cond()
smp: Use cpumask_any_but() in smp_call_function_many_cond()
smp: Improve locality in smp_call_function_any()
smp: Fix typo in comment for raw_smp_processor_id()2 files changed
Lines changed: 15 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
744 | | - | |
745 | | - | |
| 744 | + | |
746 | 745 | | |
747 | 746 | | |
748 | 747 | | |
749 | 748 | | |
750 | 749 | | |
751 | | - | |
752 | 750 | | |
753 | 751 | | |
754 | 752 | | |
755 | 753 | | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
| 754 | + | |
| 755 | + | |
766 | 756 | | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | 757 | | |
771 | 758 | | |
772 | 759 | | |
| |||
792 | 779 | | |
793 | 780 | | |
794 | 781 | | |
795 | | - | |
796 | 782 | | |
797 | 783 | | |
798 | 784 | | |
| |||
814 | 800 | | |
815 | 801 | | |
816 | 802 | | |
817 | | - | |
818 | | - | |
819 | | - | |
820 | | - | |
821 | | - | |
822 | 803 | | |
823 | | - | |
824 | | - | |
825 | | - | |
826 | | - | |
827 | | - | |
828 | | - | |
829 | | - | |
| 804 | + | |
830 | 805 | | |
831 | 806 | | |
832 | 807 | | |
| |||
840 | 815 | | |
841 | 816 | | |
842 | 817 | | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
843 | 821 | | |
844 | 822 | | |
845 | 823 | | |
| |||
851 | 829 | | |
852 | 830 | | |
853 | 831 | | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
854 | 836 | | |
855 | 837 | | |
856 | 838 | | |
| |||
869 | 851 | | |
870 | 852 | | |
871 | 853 | | |
872 | | - | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
873 | 857 | | |
874 | 858 | | |
875 | 859 | | |
| |||
0 commit comments