Adhemerval Zanella
3fcb410465
malloc: Use __get_nprocs on arena_get2 (BZ 30945)
...
This restore the 2.33 semantic for arena_get2. It was changed by
11a02b035b46 to avoid arena_get2 call malloc (back when __get_nproc
was refactored to use an scratch_buffer - 903bc7dcc2acafc). The
__get_nproc was refactored over then and now it also avoid to call
malloc.
The 11a02b035b46 did not take in consideration any performance
implication, which should have been discussed properly. The
__get_nprocs_sched is still used as a fallback mechanism if procfs
and sysfs is not acessible.
Checked on x86_64-linux-gnu.
Reviewed-by: DJ Delorie <dj@redhat.com>
(cherry picked from commit 472894d2cfee5751b44c0aaa71ed87df81c8e62e)
2024-02-12 10:20:44 -03:00
..
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2024-02-12 10:20:44 -03:00
2021-02-23 10:04:45 +01:00
2021-02-09 16:57:54 -03:00
2021-02-09 16:57:54 -03:00
2021-01-02 12:17:34 -08:00
2021-02-09 16:57:54 -03:00
2021-02-09 16:57:54 -03:00
2021-02-09 16:57:54 -03:00
2021-02-09 16:57:54 -03:00
2021-07-22 18:38:12 +05:30
2021-07-26 10:47:46 +05:30
2021-07-23 13:57:56 +05:30
2021-10-29 14:56:53 +05:30
2021-07-09 06:39:30 -07:00
2022-07-21 17:06:27 +02:00
2021-07-22 18:38:12 +05:30
2021-07-22 18:38:16 +05:30
2021-01-02 12:17:34 -08:00
2021-07-22 18:38:02 +05:30
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-05-12 07:47:11 +05:30
2021-01-02 12:17:34 -08:00
2021-07-22 18:37:57 +05:30
2021-07-22 18:38:06 +05:30
2021-07-22 18:38:06 +05:30
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-05 11:33:16 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-05-11 11:22:33 +02:00
2021-04-21 19:49:51 +02:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-07-22 18:37:59 +05:30
2021-07-22 18:37:59 +05:30
2021-01-02 12:17:34 -08:00
2021-02-09 16:57:54 -03:00
2021-02-09 16:57:54 -03:00
2021-02-09 16:57:54 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-05-25 16:47:01 -04:00
2021-01-02 12:17:34 -08:00
2023-01-11 14:13:24 +01:00
2023-01-11 14:13:24 +01:00
2021-01-02 12:17:34 -08:00
2021-04-07 02:35:50 +02:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2023-01-11 14:13:24 +01:00
2021-10-29 14:56:53 +05:30
2021-01-02 12:17:34 -08:00
2023-01-11 22:13:37 +01:00
2021-01-02 12:17:34 -08:00
2021-06-28 15:55:56 -03:00
2019-06-10 22:12:08 +00:00
2021-03-09 21:07:24 +01:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-07-22 18:37:59 +05:30
2021-01-02 12:17:34 -08:00
2023-01-11 14:13:24 +01:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2023-01-11 14:13:24 +01:00
2021-01-02 12:17:34 -08:00
2021-07-19 08:29:25 +05:30
2021-01-05 11:33:16 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-07-22 18:38:10 +05:30