From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751878AbbCLBPg (ORCPT ); Wed, 11 Mar 2015 21:15:36 -0400 Received: from ozlabs.org ([103.22.144.67]:33460 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751433AbbCLBP1 (ORCPT ); Wed, 11 Mar 2015 21:15:27 -0400 From: Rusty Russell To: Josh Poimboeuf , Petr Mladek Cc: Seth Jennings , Jiri Kosina , Miroslav Benes , Masami Hiramatsu , mingo@kernel.org, mathieu.desnoyers@efficios.com, oleg@redhat.com, paulmck@linux.vnet.ibm.com, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, andi@firstfloor.org, rostedt@goodmis.org, tglx@linutronix.de Subject: Re: [PATCH v3] livepatch/module: Correctly handle coming and going modules In-Reply-To: <20150310173049.GP10815@treble.redhat.com> References: <1425907528-22976-1-git-send-email-pmladek@suse.cz> <20150309144055.GA10815@treble.redhat.com> <20150310120103.GC1813@dhcp128.suse.cz> <20150310142204.GK10815@treble.redhat.com> <20150310143617.GA3574@dhcp128.suse.cz> <20150310144701.GL10815@treble.redhat.com> <20150310165802.GC3574@dhcp128.suse.cz> <20150310173049.GP10815@treble.redhat.com> User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Thu, 12 Mar 2015 11:03:49 +1030 Message-ID: <87mw3jxdea.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Josh Poimboeuf writes: > The struct is statically initialized as a global variable in the module. > So the elements not specified in the static initializer should all be > cleared to zero by the compiler. Yep, it's zeroed. Cheers, Rusty.