Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3425780imu; Sat, 24 Nov 2018 04:37:12 -0800 (PST) X-Google-Smtp-Source: AJdET5cQ6p6uL8JiCl1sSfdNOzQqbbUoLLkLvBfUQY288XUHha2BrynCufA83UI+WbzbuSBMMOqT X-Received: by 2002:a62:43c1:: with SMTP id l62mr20379131pfi.22.1543063032237; Sat, 24 Nov 2018 04:37:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543063032; cv=none; d=google.com; s=arc-20160816; b=wAWn/oeYAX7E+4Wfgbkp6JFKQ0U7ioiKVFYsFPirqDG2cYKAYW6b15FEgzEFdCjTFr DWgBpdlKv30myn74giFm5N73SrelbEO4F8ttP263HFKJeHU+EzzsJlvw+1LXKzJXL76M R8kK/jDtt1CgXbMmzd28gsbz/Q5ZXuOtWwJv004s+2to4oIadQLtvRmIkrSeJvC5zv5U pWcBURPFMCmsHN2Xt/uBO8PZLwvBpNoW2CE9+qdCvSHvUS0aFOWAHgy/Mon2F1albaXe V4vuULDk8kN0eRF7gRJ2oixqs3lrI5TAU10DsIoPNPPhYRffk3JykSj6L9JpVJPB1y91 DlBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature; bh=zFR3r1W60VBMNXtOeygWK78I+Q7v+A1jwk9YY4goEsM=; b=RoGnSa7wvfNirt4AAMlGoo7QGBb/terqzDLc6IpcGO7InW3CXQ7ilVkQnJDo3CHuub cW1x+kw9tUssJnM3VqbOqN6sVGYTyklvYXqSlp2pnOGI7TqFmmaU8vD6y0soKe1rHyPU hN4s/ahq95VmRY1Am2UvlaJXKutm2KLzGvViXHTwb15NZFfDAfFTDRs8K3hoI3I1cGOw bjs4nSLnYcXcT3I79cSu1XYDtIOSRgWwZwaCZTmETkfCImNZePt4GuyIHyOxhEuRAu00 OgLqM1v/nhAD1/SThp4v+sO0A7r56QihIoQ5mjaFu5vdTqQhI1+jM3wU5Shhg0hnXQzi g8bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="S6wsL/mm"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u7si18902074pfu.270.2018.11.24.04.36.57; Sat, 24 Nov 2018 04:37:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="S6wsL/mm"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726407AbeKXXYQ (ORCPT + 99 others); Sat, 24 Nov 2018 18:24:16 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:46457 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726160AbeKXXYQ (ORCPT ); Sat, 24 Nov 2018 18:24:16 -0500 Received: by mail-oi1-f194.google.com with SMTP id x202so11941323oif.13 for ; Sat, 24 Nov 2018 04:35:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=zFR3r1W60VBMNXtOeygWK78I+Q7v+A1jwk9YY4goEsM=; b=S6wsL/mmVtpIw8KyAquWbDz/Z+T/wPT8/YNUrRhZauaXUV3yF0XXQzAMAxsX4bIkOR SmkWyA7K/NjIjGg8HOmP1Ah9NR9lvxPNcdITY0Y39G2diEJnIOpWTWb9cPvWGF3aXqPW yeD1cG88f97rV/6DpCnFaxfJa2Gf0QCymxiX/4KPK1iUo4WToLMFmSbt82Oa0kBS6Y8c CkUJ+ZOBlFr2nPlOv0KJt1VzgpjU7cJczZTXlLLNcXZOHU7aLmelbTlLi/BHLeFb+y4L 5Yo7muQxIUMAokZlSIkIPkUaK9cs9l0BtLWAdPwS+mezUvvNmFFuRqNqrq2y16RmjhCx qLVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=zFR3r1W60VBMNXtOeygWK78I+Q7v+A1jwk9YY4goEsM=; b=pFmzBcigHzyB5CDhdgt9BjeotLpg+czL7O9yU0N4764xl22ywwBtKBlCuUHLUho5S1 Vyuaxw7hTkk4bLXdwxyBIUIUiA3ms4q3bQbjdt3sQFWzL0L98QIjnhmbWJNsCOep3GH6 lDlO/nWZeqQ1/OiRkqjDDNxgFOAAGP8/oGz8pEZNZOiYQ7xA2tSs+PCfohGydhD40Uan JYJQvmTYYarC7Pv+3br8IA5uaDm4+ajLSJxZN9F83zwa/mxaAclhZtdeifUG1ycfDO5y Q30MtfbzDMuv8yjKdoJotLtxXdgDJjogVDzqbKnSIIu5rn5q+KII/yo/VjdS8qfQL7IK mAFA== X-Gm-Message-State: AGRZ1gIEOUawsn2KQlXN66Hf6YQTzStHO1rRe8ALWU4TVZDOxx+3ye0N zRrr+uwgkQWpQ6G4aipr3uOcaIVeW8LZNpVYQkG6SHNh X-Received: by 2002:aca:4709:: with SMTP id u9mr10132612oia.212.1543062954765; Sat, 24 Nov 2018 04:35:54 -0800 (PST) MIME-Version: 1.0 From: David CARLIER Date: Sat, 24 Nov 2018 12:35:43 +0000 Message-ID: Subject: [PATCH] Little memset_explicit optimisation To: linux-kernel@vger.kernel.org Cc: alexander.shishkin@linux.intel.com, gregkh@linuxfoundation.org, andriy.shevchenko@linux.intel.com, aryabinin@virtuozzo.com Content-Type: multipart/mixed; boundary="0000000000004935e3057b685763" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --0000000000004935e3057b685763 Content-Type: text/plain; charset="UTF-8" --0000000000004935e3057b685763 Content-Type: application/octet-stream; name="0001-memzero_explicit-optimisation-for-size.patch" Content-Disposition: attachment; filename="0001-memzero_explicit-optimisation-for-size.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jovfqot30 RnJvbSBjNmJiNzU4OTAyYjNiMzU4ZGU5YTk4YmI0MTU2YzMwNjY4NWY1OWQ3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEYXZpZCBDYXJsaWVyIDxkZXZuZXhlbkBnbWFpbC5jb20+CkRh dGU6IFNhdCwgMTcgTm92IDIwMTggMTQ6MTM6MTMgKzAwMDAKU3ViamVjdDogW1BBVENIXSBtZW16 ZXJvX2V4cGxpY2l0LCBvcHRpbWlzYXRpb24gZm9yIHNpemUuCgpVc2luZyB0aGUgcmV0dXJuIHZh bHVlIG9mIG1lbXNldCBmb3Igc2F2ZS9sb2FkIHNha2UuCgpTaWduZWQtb2ZmLWJ5OiBEYXZpZCBD YXJsaWVyIDxkZXZuZXhlbkBnbWFpbC5jb20+Ci0tLQogbGliL3N0cmluZy5jIHwgMiArLQogMSBm aWxlIGNoYW5nZWQsIDEgaW5zZXJ0aW9uKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEv bGliL3N0cmluZy5jIGIvbGliL3N0cmluZy5jCmluZGV4IDM4ZTRjYTA4ZTc1Ny4uOTJkYTA0YTAy MTNiIDEwMDY0NAotLS0gYS9saWIvc3RyaW5nLmMKKysrIGIvbGliL3N0cmluZy5jCkBAIC03MjAs NyArNzIwLDcgQEAgRVhQT1JUX1NZTUJPTChtZW1zZXQpOwogICovCiB2b2lkIG1lbXplcm9fZXhw bGljaXQodm9pZCAqcywgc2l6ZV90IGNvdW50KQogewotCW1lbXNldChzLCAwLCBjb3VudCk7CisJ cyA9IG1lbXNldChzLCAwLCBjb3VudCk7CiAJYmFycmllcl9kYXRhKHMpOwogfQogRVhQT1JUX1NZ TUJPTChtZW16ZXJvX2V4cGxpY2l0KTsKLS0gCjIuMTkuMQoK --0000000000004935e3057b685763--