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

Ingo Molnar
2015-05-14T07:03:00Z

* Paul Mackerras <paulus@samba.org> 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