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

From: Konstantin Khlebnikov
Date: Sun Nov 09 2014 - 06:04:37 EST


On Sun, Nov 9, 2014 at 3:51 AM, Paul E. McKenney
<paulmck@xxxxxxxxxxxxxxxxxx> wrote:
> On Sun, Nov 09, 2014 at 03:24:34AM +0400, Alexander Monakov wrote:
>> On Sun, Nov 9, 2014 at 1:13 AM, Paul E. McKenney
>> <paulmck@xxxxxxxxxxxxxxxxxx> wrote:
>> >
>> > Did anyone try replacing the synchronize_rcu() with
>> > synchronize_rcu_expedited()? That should provide substantial speedups
>> > over synchronize_rcu().
>>
>> I've just briefly tested it on my laptop, and it also helps to avoid the issue.
>
> OK, good.
>
> In the past, synchronize_rcu_expedited() has been a bit unfriendly to
> battery-powered platforms and to real-time and HPC workloads, but
> recent changes for the most part fix this.

Good. In this way patch is much smaller.
This code shouldn't be used too frequently, so overhead isn't so much
important here.

>
> Thanx, Paul
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/