On 10/17/2017 7:40 PM, Abbott Liu wrote:
On Wed, Oct 11, 2017 at 03:10:56PM -0700, Laura Abbott wrote:
The decompressor does not link with the standard C library, so it
needs to provide implementations of standard C library functionality
where required. That means, if we have any memset() users, we need
to provide the memset() function.
The undef is there to avoid the optimisation we have in asm/string.h
for __memzero, because we don't want to use __memzero in the
decompressor.
Whether memset() is required depends on which compression method is
being used - LZO and LZ4 appear to make direct references to it, but
the inflate (gzip) decompressor code does not.
What this means is that all supported kernel compression options need
to be tested.
Thanks for your review. I am sorry that I am so late to reply your email.
I will test all arm kernel compression options.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>