Re: [PATCH 10/19] x86, mpx: trace ranged MPX operations

From: Thomas Gleixner
Date: Mon May 18 2015 - 17:04:16 EST


On Fri, 8 May 2015, Dave Hansen wrote:
> When MPX can not free an entire bounds table, it will instead
> try to zap unused parts of a bounds table to free the backing
> memory. This decreases RSS (resident set size) without
> decreasing the virtual space allocated for bounds tables.
>
> trace attempts to find bounds tables:

My first reading was: "The trace attempts to find bounds tables"

"Trace the attempts to find bounds tables" is what you actually mean.

> This event traces any time we go looking to unmap a bounds table

You have two events ....

> for a given virtual address range. This is useful to ensure
> that the kernel actually "tried" to free a bounds table versus
> times it succeeded.
>
> It might try and fail if it realized that a table was shared
> with an adjacent VMA which is not being unmapped.

So rewording that would probably create a useful changelog.

Thanks,

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