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

From: Ingo Molnar
Date: Thu May 14 2015 - 03:03:19 EST



* Paul Mackerras <paulus@xxxxxxxxx> wrote:

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

Yeah, indeed.

I fixed that, PowerPC now looks like this:

irq time acct:-------------------------------------------.
THP:------------------------------------. |
gcov profile all:-----------------------------. | |
rwsem optimized:----------------------. | | |
queued spinlocks:---------------. | | | |
queued rwlocks:--------. | | | | |
numa balancing:-. | | | | | |
| | | | | | |
--------------------------------------------------------------------
powerpc | ok | TODO | TODO | TODO | ok | ok | ok |

Thanks,

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