Files
linux/arch/riscv/include/asm
Charlie Jenkins 5b3d6103b3 riscv: entry: Split ret_from_fork() into user and kernel
This function was unified into a single function in commit ab9164dae2
("riscv: entry: Consolidate ret_from_kernel_thread into ret_from_fork").
However that imposed a performance degradation.

Partially reverting this commit to have ret_from_fork() split again,
results in a 1% increase on the number of times fork is able to be called
per second.

Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/all/20250320-riscv_optimize_entry-v6-2-63e187e26041@rivosinc.com
2025-04-29 08:27:10 +02:00
..
2025-03-20 09:15:03 +00:00
2025-01-18 12:33:39 -08:00
2022-03-10 09:29:21 -08:00
2024-06-26 08:02:33 -07:00
2024-09-03 07:18:33 -07:00
2024-05-19 14:36:19 -07:00
2020-05-18 11:38:10 -07:00
2022-03-29 14:31:07 -07:00
2025-03-26 15:56:46 -07:00
2021-01-14 15:09:06 -08:00
2024-03-15 10:17:38 -07:00
2021-01-07 19:00:50 -08:00
2025-03-18 12:59:03 +00:00
2024-11-05 12:55:39 +01:00
2024-09-03 07:18:34 -07:00