lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+xJJ1_CE5kEVY=5-_0_ebjEj4aDruTzfg2BHFvNPfeyvUjH9Q@mail.gmail.com>
Date:	Tue, 23 Apr 2013 15:30:05 +0200
From:	Mats Liljegren <liljegren.mats2@...il.com>
To:	Frederic Weisbecker <fweisbec@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Testing timers/nohz-help-testing

On Tue, Apr 23, 2013 at 2:40 PM, Mats Liljegren
<liljegren.mats2@...il.com> wrote:
> I'm trying to test your new branch timers/nohz-help-testing.
>
> Since I'm using ARM, I cherry-picket a few of Kevin's commits from his
> arm-nohz-v3/context-tracking branch. It is based on an older version
> of NOHZ, but I think the context tracking and virtual CPU accounting
> should be pretty much the same. If not, then that might be the reason
> for my problems below...
>
> I'm unable to select CONFIG_NO_HZ_FULL. It misses
> CONFIG_VIRT_CPU_ACCOUNTING_GEN. I have CONFIG_VIRT_CPU_ACCOUNTING set
> by CONFIG_VIRT_CPU_ACCOUNTING_NATIVE though, but this didn't help.
>
> With below change I could at least go on with fixing compile errors:
>
> diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig
> index e1ac129..cd00820 100644
> --- a/kernel/time/Kconfig
> +++ b/kernel/time/Kconfig
> @@ -106,7 +106,7 @@ config NO_HZ_FULL
>         depends on HAVE_CONTEXT_TRACKING
>         # RCU_NOCB_CPU dependency
>         depends on TREE_RCU || TREE_PREEMPT_RCU
> -       depends on VIRT_CPU_ACCOUNTING_GEN
> +       depends on VIRT_CPU_ACCOUNTING
>         select NO_HZ_COMMON
>         select RCU_USER_QS
>         select RCU_NOCB_CPU
>
> /Mats

Forget the above mail, I was too picky in my cherry-picking... When I
applied Kevins 64-bit fixes for VIRT_CPU_ACCOUNTING, I could select
VIRT_CPU_ACCOUNTING_GEN and get NO_HZ_FULL.

I think the naming is somewhat confusing, since
VIRT_CPU_ACCOUNTING_GEN is required by NO_HZ_FULL,
VIRT_CPU_ACCOUNTING_NATIVE is apparently not suitable for some reason.
Both VIRT_CPU_ACCOUNTING_(GEN|NATIVE) selects VIRT_CPU_ACCOUNTING,
making at least my head spin...

Sorry for the confusion...

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ