[PATCH v1 0/5] riscv: Introduce compat-mode helpers & improve arch_get_mmap_end()

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Wed Mar 20 13:50:39 PDT 2024


Hello:

This series was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer at rivosinc.com>:

On Wed,  3 Jan 2024 13:00:18 -0300 you wrote:
> I just saw the opportunity of optimizing the helper is_compat_task() by
> introducing a compile-time test, and it made possible to remove some
> #ifdef's without any loss of performance.
> 
> I also saw the possibility of removing the direct check of task flags from
> general code, and concentrated it in asm/compat.h by creating a few more
> helpers, which in the end helped optimize code.
> 
> [...]

Here is the summary with links:
  - [v1,1/5] riscv: Improve arch_get_mmap_end() macro
    https://git.kernel.org/riscv/c/6be7ee4bebd1
  - [v1,2/5] riscv: Replace direct thread flag check with is_compat_task()
    https://git.kernel.org/riscv/c/9dc30419248f
  - [v1,3/5] riscv: add compile-time test into is_compat_task()
    https://git.kernel.org/riscv/c/4c0b5a451675
  - [v1,4/5] riscv: Introduce is_compat_thread() into compat.h
    https://git.kernel.org/riscv/c/5917ea17ad07
  - [v1,5/5] riscv: Introduce set_compat_task() in asm/compat.h
    https://git.kernel.org/riscv/c/2a8986fc5e1c

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-riscv mailing list