Re: [PATCH v2] ACPI/osl: speedup grace period in acpi_os_map_cleanup

2014-11-14 Thread Rafael J. Wysocki
On Sunday, November 09, 2014 02:00:38 PM Paul E. McKenney wrote: > On Sun, Nov 09, 2014 at 01:53:37PM +0400, Konstantin Khlebnikov wrote: > > ACPI maintains cache of ioremap regions to speed up operations and > > access to them from irq context where ioremap() calls aren't allowed. > > This code ab

Re: [PATCH v2] ACPI/osl: speedup grace period in acpi_os_map_cleanup

2014-11-14 Thread joeyli
Hi, On Sun, Nov 09, 2014 at 01:53:37PM +0400, Konstantin Khlebnikov wrote: > ACPI maintains cache of ioremap regions to speed up operations and > access to them from irq context where ioremap() calls aren't allowed. > This code abuses synchronize_rcu() on unmap path for synchronization > with fas

Re: [PATCH v2] ACPI/osl: speedup grace period in acpi_os_map_cleanup

2014-11-09 Thread Paul E. McKenney
On Sun, Nov 09, 2014 at 01:53:37PM +0400, Konstantin Khlebnikov wrote: > ACPI maintains cache of ioremap regions to speed up operations and > access to them from irq context where ioremap() calls aren't allowed. > This code abuses synchronize_rcu() on unmap path for synchronization > with fast-path

[PATCH v2] ACPI/osl: speedup grace period in acpi_os_map_cleanup

2014-11-09 Thread Konstantin Khlebnikov
ACPI maintains cache of ioremap regions to speed up operations and access to them from irq context where ioremap() calls aren't allowed. This code abuses synchronize_rcu() on unmap path for synchronization with fast-path in acpi_os_read/write_memory which uses this cache. Since v3.10 CPUs are allo