[RFC 0/5] memset_l and memfill

2017-03-08 Thread Matthew Wilcox
From: Matthew Wilcox zram was recently enhanced to support compressing pages with a repeating pattern up to the size of an unsigned long. As part of the discussion, we noted it would be nice if architectures had optimised routines to fill regions of memory with patterns

[RFC 0/5] memset_l and memfill

2017-03-08 Thread Matthew Wilcox
From: Matthew Wilcox zram was recently enhanced to support compressing pages with a repeating pattern up to the size of an unsigned long. As part of the discussion, we noted it would be nice if architectures had optimised routines to fill regions of memory with patterns larger than those