Re: [PATCH v4 07/45] powerpc/ptdump: Limit size of flags text to 1/2 chars on PPC32

From: Michael Ellerman
Date: Mon May 25 2020 - 01:16:31 EST


Christophe Leroy <christophe.leroy@xxxxxxxxxx> writes:
> In order to have all flags fit on a 80 chars wide screen,
> reduce the flags to 1 char (2 where ambiguous).

I don't love this, the output is less readable. Is fitting on an 80 char
screen a real issue for you? I just make my terminal window bigger.

cheers


> No cache is 'i'
> User is 'ur' (Supervisor would be sr)
> Shared (for 8xx) becomes 'sh' (it was 'user' when not shared but
> that was ambiguous because that's not entirely right)
>
> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx>
> ---
> arch/powerpc/mm/ptdump/8xx.c | 33 ++++++++++++++++---------------
> arch/powerpc/mm/ptdump/shared.c | 35 +++++++++++++++++----------------
> 2 files changed, 35 insertions(+), 33 deletions(-)