Re: [PATCH tip/core/rcu 08/12] rcu: Disable TASKS_RCU for usermode Linux

From: Richard Weinberger
Date: Wed Jun 15 2016 - 17:48:09 EST


Am 15.06.2016 um 23:46 schrieb Paul E. McKenney:
> Usermode Linux currently does not implement arch_irqs_disabled_flags(),
> which results in a build failure in TASKS_RCU. Therefore, this commit
> disables the TASKS_RCU Kconfig option in usermode Linux builds. The
> usermode Linux maintainers expect to merge arch_irqs_disabled_flags()
> into 4.8, at which point this commit may be reverted.
>
> Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
> Cc: Richard Weinberger <richard@xxxxxx>
> Cc: Jeff Dike <jdike@xxxxxxxxxxx>
> ---
> init/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/init/Kconfig b/init/Kconfig
> index f755a602d4a1..a068265fbcaf 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -517,6 +517,7 @@ config SRCU
> config TASKS_RCU
> bool
> default n
> + depends on !UML
> select SRCU
> help
> This option enables a task-based RCU implementation that uses

Acked-by: Richard Weinberger <richard@xxxxxx>

Thanks,
//richard