[v6 09/15] sparc64: optimized struct page zeroing

Pasha Tatashin pasha.tatashin at oracle.com
Sat Aug 12 02:04:51 AEST 2017


>> Add an optimized mm_zero_struct_page(), so struct page's are zeroed without
>> calling memset(). We do eight to tent regular stores based on the size of
>> struct page. Compiler optimizes out the conditions of switch() statement.
> 
> Again, this doesn't explain why we need this. You have mentioned those
> reasons in some previous emails but be explicit here please.
> 

I will add performance data to this patch as well.

Thank you,
Pasha


More information about the Linuxppc-dev mailing list