[PATCH] arm64: mm: fix warning in arch_faults_on_old_pte()

Will Deacon will at kernel.org
Tue Jun 15 03:52:30 PDT 2021


On Sun, Jun 13, 2021 at 03:47:28PM -0600, Yu Zhao wrote:
> cow_user_page() doesn't disable preemption, and it triggers the
> warning in arch_faults_on_old_pte() when CONFIG_PREEMPT_COUNT=y.

Doesn't kmap_atomic() disable preemption?

How can I reproduce the warning?

Will



More information about the linux-arm-kernel mailing list