Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1948211pxa; Mon, 3 Aug 2020 03:31:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVCA+x7777SpswzB5WnCUtYqkMcbYFcvXvrl5kMcvicK8MAZUNxtoATRDXZNChOYjppUZ8 X-Received: by 2002:a05:6402:1151:: with SMTP id g17mr11056455edw.43.1596450667446; Mon, 03 Aug 2020 03:31:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596450667; cv=none; d=google.com; s=arc-20160816; b=MsYbkLY6h0dEhG88u+VbG9isTiCqVoOUtJ3tj8LsxTy1VeqbYIZYKWXS0u+lyReA7X ibprfJWGOPr3eig18MipCjtcTIr6mEcUfsls7cEV3xlGSOe0p/YTjIh8DN3EWu2Nwxx8 mIYjNGVT8jdfU+R9JN2NTFMfD0N5Cm7Ku+Nikay7EQPqXGq+fx8gzYbQemLiFheXFL3T W3OCWyE+xQEGnXXFpcx63BDbhrur90WK9sdjRrJ53dUvf0taWIJ4BhiZfUQNGCecnPa4 9NOFc7lFQ6yi6EQDrKbFL7pgwzKO6otuqPmJ3esE4z+dsRcASTz7jgceZbYSGfmobJK+ KeGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:date:from:dkim-signature; bh=wera6Uyhs3n9BVFUTcfSgmx3CiTiA8VGTYm4K/HGON4=; b=K11EgnTbNVXN5pacjUWBVVuhplR4d6h1JJmVKcx0htOa0ByCErabjROUXvz1LYy/88 0QmpVRMLGSZr6rNVmQSVpgJjebxB7iC8J7una+ES7bc5loo/tc0MZMymdmUtsqYZvyFG 6BHLVJ13Es0j1BMkkpedqV7WSHvAV/Rt05i0qL2JPzIY0oRLbwjL3el7Dkx9QItcz8ld HG/WJH2X5mGHT5DVUsOWh7bXS8MAq14RhiO3QGfF9qJrLVIx94hNR9nOI/yU88XKbB0n nAhrGxdvZPgBpBzLfouj6Vl9egZLTtsV+qhHcODvTYoPDISiOp3i/Wz6C52RK2/qdXoh ynCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qta2F5Ya; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id o29si10167383edz.62.2020.08.03.03.30.44; Mon, 03 Aug 2020 03:31:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qta2F5Ya; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726398AbgHCK2J (ORCPT + 99 others); Mon, 3 Aug 2020 06:28:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbgHCK2I (ORCPT ); Mon, 3 Aug 2020 06:28:08 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 788CEC06174A for ; Mon, 3 Aug 2020 03:28:08 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id q76so13715851wme.4 for ; Mon, 03 Aug 2020 03:28:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :mime-version; bh=wera6Uyhs3n9BVFUTcfSgmx3CiTiA8VGTYm4K/HGON4=; b=qta2F5YaeaL2dux1TY+QhrovZpd/nWVLNVeS04xtI6jnMOfLmla5kIafRXyh/sSG6C pr5C2DoZpVun3tRT4Cinin+ZL0afuonyNIKwfiR8RyVHH6J1GnRFS/4UfW6pRWOlkcwl eHl7+LbZiB6KFOwMlHH1TeIktM//2Jes/S9xvYeUj4NifPV078j3vHFgZoB9djsIu2xi d5DV8s3Cg1b1rj7pZZBfvHFLQZEQ5BkE8UKC2DTMipP7ASH8MO65tByQierjrq/kY4YT mE3fGnzsmFbjnBZYrnueYdgcdDHnAkMkKnqzYSAr7s8AIW5PM0TqMYVTLAMxtJ7NYN18 8kSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:mime-version; bh=wera6Uyhs3n9BVFUTcfSgmx3CiTiA8VGTYm4K/HGON4=; b=hL957l7CihjffSXmtXJYGLTJx9YtztdMT97P44xwNiqJLY+8lEX5xBGbZlsQvzQY9o 8aPGg/R3l9DXgXGCvxYm//2yAWs0iyIwWUNCGwE+46OsJDAub11RPQIwYAO9GCRSrBRs ocd4RRoBg5r+CkCrLPR5/omUX06pL+JFXHUSUaskb5ILt978lxUMO2CUGPoLays1T4hb MfszAr4/wbZQvWz3ChGpsO3dDxKuybkw6nj70s+vtoLNh0C9ugdqRAFvW82EnaXN4IAD nzgv8jugfucegTkkMTy8KLCM+zlWCTgUqJ5AT/1nHBzEuzai1cK/gcRgS77h3uzBbJDP CPEA== X-Gm-Message-State: AOAM531aZAvg2v36HzXFP3avk5ys/msiiTil2j++GZjoRzpwNv34NpvP A0l50Wp1ogj9fIaVZtMNRw== X-Received: by 2002:a1c:23c2:: with SMTP id j185mr14897074wmj.84.1596450486979; Mon, 03 Aug 2020 03:28:06 -0700 (PDT) Received: from localhost.localdomain (host-92-25-238-49.as13285.net. [92.25.238.49]) by smtp.gmail.com with ESMTPSA id g188sm26307154wma.5.2020.08.03.03.28.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2020 03:28:06 -0700 (PDT) From: Jules Irenge X-Google-Original-From: Jules Irenge Date: Mon, 3 Aug 2020 11:27:54 +0100 (BST) X-X-Sender: jules@localhost To: peterz@infradead.org cc: Jules Irenge , linux-kernel@vger.kernel.org, Frederic Weisbecker , Thomas Gleixner , Alexandre Chartre , Masami Hiramatsu Subject: Re: [PATCH 4/4] context_tracking: uninitialize static variables In-Reply-To: <20200803093751.GD2674@hirez.programming.kicks-ass.net> Message-ID: References: <0/4> <20200801184603.310769-1-jbi.octave@gmail.com> <20200801184603.310769-5-jbi.octave@gmail.com> <20200803093751.GD2674@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 3 Aug 2020, peterz@infradead.org wrote: > So personally I prefer having the '= false' there. It used to be that > compilers were stupid and would put any initialized static variable in > .data, even if it was initialized with 0. But AFAIK compilers are no > longer that stupid. > Thanks for the reply, I completely understand the precaution measure.