Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932834AbaLAXAt (ORCPT ); Mon, 1 Dec 2014 18:00:49 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55009 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932637AbaLAXAr (ORCPT ); Mon, 1 Dec 2014 18:00:47 -0500 Date: Mon, 1 Dec 2014 18:00:38 -0500 From: Mike Snitzer To: Milan Broz Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, Julia Lawall , dm-devel@redhat.com, Alasdair Kergon Subject: Re: [PATCH 5/8 v2] dm: replace memset by memzero_explicit Message-ID: <20141201230037.GA9761@redhat.com> References: <1417367029-32762-1-git-send-email-Julia.Lawall@lip6.fr> <1417367029-32762-6-git-send-email-Julia.Lawall@lip6.fr> <547CD7B9.5030000@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <547CD7B9.5030000@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 01 2014 at 4:03pm -0500, Milan Broz wrote: > On 11/30/2014 06:03 PM, Julia Lawall wrote: > > From: Julia Lawall > > > > Memset on a local variable may be removed when it is called just before the > > variable goes out of scope. Using memzero_explicit defeats this > > optimization. A simplified version of the semantic patch that makes this > > change is as follows: (http://coccinelle.lip6.fr/) > > Ack, but I submitted the same patch a week ago.... > > https://www.redhat.com/archives/dm-devel/2014-November/msg00084.html > > Mike, please could you add this to linux-next tree or you want this > to go through Herbert's tree? > (I do not think it is good idea for DM patches.) I staged it in linux-next for 3.19 inclusion, see: https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=dm-for-3.19&id=a722201f9075b28be140bc13f8ec07bf6a42edd4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/