Files
kernel_arpi/include/linux
Mike Rapoport 65a4863a4e mm/pgtable: define pte_index so that preprocessor could recognize it
commit 314c459a6fe0957b5885fbc65c53d51444092880 upstream.

Since commit 974b9b2c68 ("mm: consolidate pte_index() and
pte_offset_*() definitions") pte_index is a static inline and there is
no define for it that can be recognized by the preprocessor.  As a
result, vm_insert_pages() uses slower loop over vm_insert_page() instead
of insert_pages() that amortizes the cost of spinlock operations when
inserting multiple pages.

Link: https://lkml.kernel.org/r/20220111145457.20748-1-rppt@kernel.org
Fixes: 974b9b2c68 ("mm: consolidate pte_index() and pte_offset_*() definitions")
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Reported-by: Christian Dietrich <stettberger@dokucode.de>
Reviewed-by: Khalid Aziz <khalid.aziz@oracle.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-08 18:34:05 +01:00
..
2021-09-02 22:49:16 +02:00
2021-09-20 12:43:34 +01:00
2021-08-29 14:47:42 +03:00
2021-10-07 16:51:57 +02:00
2021-09-08 15:32:35 -07:00
2021-08-26 16:52:03 -07:00
2021-12-14 10:57:11 +01:00
2021-11-25 09:48:41 +01:00
2021-09-07 21:17:28 +02:00
2021-08-26 15:32:28 -04:00
2021-09-06 07:20:56 -04:00
2021-11-25 09:49:08 +01:00
2021-09-03 09:58:13 -07:00
2021-09-23 11:01:12 -04:00
2021-11-18 19:15:51 +01:00
2021-11-18 19:17:02 +01:00
2021-09-17 13:52:17 +01:00
2021-09-02 21:38:56 +02:00
2021-10-07 16:51:57 +02:00
2021-11-21 13:44:12 +01:00
2021-09-08 15:32:35 -07:00
2021-09-15 09:22:35 -06:00
2021-12-14 10:57:15 +01:00