Files
linux-stable-mirror/include/linux
Paolo Bonzini 95670878a6 mm: vmalloc: introduce array allocation functions
commit a8749a35c3 upstream.

Linux has dozens of occurrences of vmalloc(array_size()) and
vzalloc(array_size()).  Allow to simplify the code by providing
vmalloc_array and vcalloc, as well as the underscored variants that let
the caller specify the GFP flags.

Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alexander Ofitserov <oficerovas@altlinux.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-23 08:41:55 +01:00
..
2024-01-25 14:37:54 -08:00
2022-08-21 15:16:16 +02:00
2024-02-23 08:41:51 +01:00
2022-10-26 13:25:35 +02:00
2023-10-10 21:53:37 +02:00
2023-12-20 15:44:30 +01:00
2023-12-08 08:46:15 +01:00
2023-10-25 11:54:20 +02:00
2022-10-26 13:25:42 +02:00
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2022-08-21 15:16:08 +02:00
2022-08-21 15:15:21 +02:00
2023-01-04 11:39:16 +01:00
2023-11-20 11:06:46 +01:00
2023-06-21 15:45:38 +02:00
2023-08-26 15:26:57 +02:00
2024-01-25 14:37:40 -08:00
2023-11-28 16:54:53 +00:00
2023-10-25 11:54:13 +02:00
2023-10-25 11:54:13 +02:00
2023-05-17 11:48:09 +02:00
2024-02-23 08:41:51 +01:00