Re: [PATCH v6] selftest: size: Add size test for Linux kernel
From: Shuah Khan
Date: Wed Dec 03 2014 - 19:50:22 EST
On 12/03/2014 05:36 PM, Josh Triplett wrote:
> On Wed, Dec 03, 2014 at 10:42:21AM -0800, Tim Bird wrote:
>> This test shows the amount of memory used by the system.
>> Note that this is dependent on the user-space that is loaded
>> when this program runs. Optimally, this program would be
>> run as the init program itself.
>> The program is optimized for size itself, to avoid conflating
>> its own execution with that of the system software.
>> The code is compiled statically, with no stdlibs. On my x86_64 system,
>> this results in a statically linked binary of less than 5K.
>> Signed-off-by: Tim Bird <tim.bird@xxxxxxxxxxxxxx>
> v6 looks good to me.
> Reviewed-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
> Should this go through the tinification tree or the selftests tree?
Thanks both. Yes v6 looks good. I will take this through kselftest
tree. I will apply this to kselftes fixes.
Sr. Linux Kernel Developer
Samsung Research America (Silicon Valley)
shuahkh@xxxxxxxxxxxxxxx | (970) 217-8978
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/