[RFC, 7/8] powerpc/xmon: Drop 'valid' from the condition inside 'dump_segments'

Michael Ellerman mpe at ellerman.id.au
Tue Jul 21 20:00:18 AEST 2015


On Tue, 2015-21-07 at 06:58:45 UTC, Anshuman Khandual wrote:
> From: "khandual at linux.vnet.ibm.com" <khandual at linux.vnet.ibm.com>
> 
> Value of 'valid' is zero when 'esid' is zero and it does not matter
> when 'esid' is non-zero. 

Yes it does. It tells you whether the entry is valid?

In practice maybe you only see invalid entries that are entirely zero, and so
they get skipped anyway, but that's not guaranteed.

cheers


More information about the Linuxppc-dev mailing list