From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753627AbdBGJkL (ORCPT ); Tue, 7 Feb 2017 04:40:11 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47552 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753581AbdBGJkI (ORCPT ); Tue, 7 Feb 2017 04:40:08 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20170206144902.GH2267@bombadil.infradead.org> References: <20170206144902.GH2267@bombadil.infradead.org> <1486307804-27903-1-git-send-email-minchan@kernel.org> To: Matthew Wilcox Cc: dhowells@redhat.com, Minchan Kim , Andrew Morton , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, sergey.senozhatsky@gmail.com, iamjoonsoo.kim@lge.com, ngupta@vflare.org, zhouxianrong@huawei.com, zhouxiyu@huawei.com, weidu.du@huawei.com, zhangshiming5@huawei.com, Mi.Sophia.Wang@huawei.com, won.ho.park@huawei.com Subject: Re: memfill MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <27994.1486460404.1@warthog.procyon.org.uk> Date: Tue, 07 Feb 2017 09:40:04 +0000 Message-ID: <27995.1486460404@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 07 Feb 2017 09:40:09 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Matthew Wilcox wrote: > [adding linux-arch to see if anyone there wants to do an optimised > version of memfill for their CPU] For mn10300, this is superfluous since the memset() implementation will do optimised filling of up to 8 x 4 bytes per loop if the alignments suit. This is also superfluous for frv as that will do up to 8 x 8 bytes per loop. So on both those arches, memfill() should probably just wrap memset(). David