[RFT,v2,0/4] ACPI: ACPICA / OSL: Avoid unmapping ACPI memory inside of the AML interpreter
mbox series

Message ID 2713141.s8EVnczdoM@kreacher
Headers show
Series
  • ACPI: ACPICA / OSL: Avoid unmapping ACPI memory inside of the AML interpreter
Related show

Message

Rafael J. Wysocki June 22, 2020, 1:50 p.m. UTC
Hi All,

This series is to address the problem with RCU synchronization occurring,
possibly relatively often, inside of acpi_ex_system_memory_space_handler(),
when the namespace and interpreter mutexes are held.

Like I said before, I had decided to change the approach used in the previous
iteration of this series and to allow the unmap operations carried out by 
acpi_ex_system_memory_space_handler() to be deferred in the first place,
which is done in patches [1-2/4].

However, it turns out that the "fast-path" mapping is still useful on top of
the above to reduce the number of ioremap-iounmap cycles for the same address
range and so it is introduced by patches [3-4/4].

For details, please refer to the patch changelogs.

The series is available from the git branch at

 git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
 acpica-osl

for easier testing.

Cheers,
Rafael