From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751064AbdAYQCF (ORCPT ); Wed, 25 Jan 2017 11:02:05 -0500 Received: from smtprelay0172.hostedemail.com ([216.40.44.172]:57880 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750711AbdAYQCD (ORCPT ); Wed, 25 Jan 2017 11:02:03 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3871:3873:4321:5007:6119:8603:10004:10400:10848:11026:11232:11473:11658:11914:12043:12296:12438:12555:12740:12760:12895:12986:13069:13311:13357:13439:14096:14097:14181:14659:14721:21080:21324:21365:21433:21451:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:4,LUA_SUMMARY:none X-HE-Tag: river81_115daf12f8f57 X-Filterd-Recvd-Size: 1965 Message-ID: <1485360117.12563.85.camel@perches.com> Subject: Re: [PATCH] nvdimm: constify device_type structures From: Joe Perches To: Julia Lawall Cc: Dan Williams , Bhumika Goyal , "linux-nvdimm@lists.01.org" , "linux-kernel@vger.kernel.org" Date: Wed, 25 Jan 2017 08:01:57 -0800 In-Reply-To: References: <1485285847-7006-1-git-send-email-bhumirks@gmail.com> <1485311842.12563.50.camel@perches.com> <1485312569.12563.52.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.3-0ubuntu0.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2017-01-25 at 07:49 +0100, Julia Lawall wrote: > What does the data column actually represent? I tried size on the .o file > generated from: > > commit a65f0161f4d69d6738d4821e649448312cd818e2 > Author: Stephen Rothwell > Date: Tue Jan 17 15:22:28 2017 +1100 > > with CONFIG_X86_64=y and I get: > > text data bss dec hex filename > 19726 3480 16 23222 5ab6 drivers/nvdimm/namespace_devs.o > > but when I run objdump -sh drivers/nvdimm/namespace_devs.o, I find a .data > segment of size 1008 and a .data.unlikely segment of size 8, which don't > match up with the results of size. Likely you have dynamic_debug enabled and you need to include these additional sections: __jump_table __verbose If user_mode_linux is enabled, add sections: .fini_array .init_array