Re: [PATCH 1/5] riscv: misaligned: factorize trap handling

From: Maciej W. Rozycki
Date: Thu May 01 2025 - 16:52:07 EST


On Thu, 1 May 2025, Maciej W. Rozycki wrote:

> Hopefully not in the hardirq context though, and the usual approach is to
> keep interrupts disabled in the emulation path if arriving from the kernel
> mode as we don't expect kernel code to be ever paged out (the same applies
> to all kinds of machine instruction emulation).

s/code/data/, obviously.

Maciej