Re: [RFC PATCH v6] Documentation/arch: Add Documentation/arch-features.txt

Paul Mackerras
2015-05-14T03:55:43Z

On Wed, May 13, 2015 at 03:48:42PM +0200, Ingo Molnar wrote:
>
> Updated patch attached - I've added a few more features to the last
> table, and restructured the explanations, now every feature
> description also lists the Kconfig variable that it's tracking, e.g.:
>
> irq time acct: HAVE_IRQ_TIME_ACCOUNTING

Regarding that one specifically, as far as I can see,
HAVE_IRQ_TIME_ACCOUNTING is only relevant for tick-based time
accounting. If you have CONFIG_VIRT_CPU_ACCOUNTING you get accurate
irq time accounting with or without HAVE_IRQ_TIME_ACCOUNTING. So how
about making this one:

irq time acct: HAVE_IRQ_TIME_ACCOUNTING || VIRT_CPU_ACCOUNTING

That would make the "irq time acct" entry for powerpc be "ok".

Paul.