Re: [uClinux-dev] [PATCH] NOMMU: fix malloc performance by addinguninitialized flag

From: Robin Getz
Date: Tue Oct 13 2009 - 11:23:08 EST


On Tue 13 Oct 2009 03:44, Mike Frysinger pondered:
> From: Jie Zhang <jie.zhang@xxxxxxxxxx>
>
> The no-mmu code currently clears all anonymous mmap-ed memory. While this
> is what we want in the default case, all memory allocation from userspace
> under no-mmu has to go through this interface, including malloc() which is
> allowed to return uninitialized memory. This can easily be a significant
> performance slow down. So for constrained embedded systems were security
> is irrelevant, allow people to avoid unnecessarily clearing memory.
>
> Signed-off-by: Jie Zhang <jie.zhang@xxxxxxxxxx>
> Signed-off-by: Robin Getz <rgetz@xxxxxxxxxx>

Should be rgetz@xxxxxxxxxxxxxxxxxxxx -- rgetz@xxxxxxxxxx does not exist and will bounce.

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