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

From: Paul Mackerras
Date: Wed May 13 2015 - 23:55:46 EST


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.
--
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/