From: Russell King - ARM Linux <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>
To: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
Cc: Bill Pemberton <wfp5p-4Ng6DfrEGID2fBVCVOL8/A@public.gmane.org>,
Rudolf Marek <r.marek-/xGekIyIa4Ap1Coe8Ar9gA@public.gmane.org>,
Vitaly Wool <vitalywool-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>,
gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org,
Wolfram Sang <w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
Jochen Friedrich <jochen-NIgtFMG+Po8@public.gmane.org>,
"Mark M. Hoffman"
<mhoffman-xQSgfq/1h4JiLUuM0BA3LQ@public.gmane.org>,
linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>,
Barry Song <baohua.song-kQvG35nSl+M@public.gmane.org>,
Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>,
Peter Korsgaard <jacmet-OfajU3CKLf1/SzgSGea1oA@public.gmane.org>,
Guan Xuetao <gxt-TG0Ac1+ktVePQbnJrJN+5g@public.gmane.org>,
linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH 207/493] i2c: remove use of __devinit
Date: Tue, 20 Nov 2012 13:23:42 +0000 [thread overview]
Message-ID: <20121120132342.GP3332@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20121120092046.24496415-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
On Tue, Nov 20, 2012 at 09:20:46AM +0100, Jean Delvare wrote:
> Hi Bill,
>
> On Mon, 19 Nov 2012 13:22:36 -0500, Bill Pemberton wrote:
> > CONFIG_HOTPLUG is going away as an option so __devinit is no longer
> > needed.
>
> Can you please point me/us to the discussion explaining the rationale
> behind this move, and the explanation of what will be done exactly?
> While I can easily understand that we want to drop CONFIG_HOTPLUG and
> always enable hot-plug support, I don't see where we are going with
> removing __devinit annotations and the like.
It's actually very simple to understand.
1. CONFIG_HOTPLUG is going away; it's already defined to always be 'Y'.
2. This means that the the devinit sections will not be discarded anymore.
3. As a result, there's no point the devinit sections existing anymore.
4. As there's no devinit sections, the __devinit marker is entirely
redundant and useless.
The reason this is being done is because the benefit to cost ratio of this
is far too high; it's well proven that people constantly get these markings
wrong, and with most kernels having had hotplug enabled anyway, it's not
providing much in the way of space saving benefit over the number of section
conflicts it causes. So, it's been decided a few years ago that this is
going to happen, with that justification, and it's been accepted by 300
odd kernel developers in at least one kernel summit when it was talked
about... and it's been mentioned on mailing lists several times.
next prev parent reply other threads:[~2012-11-20 13:23 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1353349642-3677-1-git-send-email-wfp5p@virginia.edu>
2012-11-19 18:19 ` [PATCH 032/493] arm: remove use of __devexit_p Bill Pemberton
2012-11-20 7:23 ` Eric Miao
2012-11-20 17:59 ` Tony Lindgren
2012-11-21 11:58 ` Kukjin Kim
2012-11-19 18:20 ` [PATCH 064/493] hwspinlock: " Bill Pemberton
2012-11-20 22:44 ` Linus Walleij
2012-11-19 18:20 ` [PATCH 077/493] mmc: " Bill Pemberton
2012-11-20 3:07 ` viresh kumar
2012-11-21 12:05 ` Guennadi Liakhovetski
2012-11-19 18:21 ` [PATCH 121/493] video: " Bill Pemberton
2012-11-19 18:21 ` [PATCH 146/493] ASoC: " Bill Pemberton
[not found] ` <s5hehjordzj.wl%tiwai@suse.de>
2012-11-20 6:30 ` Forward: " Mark Brown
2012-11-19 18:21 ` [PATCH 158/493] video: remove use of __devinit Bill Pemberton
2012-11-20 16:57 ` David Brown
2012-11-19 18:22 ` [PATCH 205/493] gpio: " Bill Pemberton
2012-11-20 1:33 ` Mark Brown
2012-11-22 8:49 ` Linus Walleij
[not found] ` <1353349642-3677-1-git-send-email-wfp5p-4Ng6DfrEGID2fBVCVOL8/A@public.gmane.org>
2012-11-19 18:20 ` [PATCH 065/493] i2c: remove use of __devexit_p Bill Pemberton
[not found] ` <1353349642-3677-65-git-send-email-wfp5p-4Ng6DfrEGID2fBVCVOL8/A@public.gmane.org>
2012-11-20 6:59 ` Shubhrajyoti Datta
2012-11-20 13:46 ` Jean Delvare
[not found] ` <20121120144621.5d2c213a-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-11-22 21:49 ` Wolfram Sang
[not found] ` <20121122214915.GD14851-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2012-11-26 13:52 ` Bill Pemberton
2012-11-19 18:21 ` [PATCH 119/493] usb: " Bill Pemberton
[not found] ` <1353349642-3677-119-git-send-email-wfp5p-4Ng6DfrEGID2fBVCVOL8/A@public.gmane.org>
2012-11-19 20:14 ` Felipe Balbi
2012-11-20 9:29 ` Nicolas Ferre
2012-11-20 14:02 ` Peter Korsgaard
2012-11-19 18:21 ` [PATCH 159/493] usb: remove use of __devinit Bill Pemberton
[not found] ` <1353349642-3677-159-git-send-email-wfp5p-4Ng6DfrEGID2fBVCVOL8/A@public.gmane.org>
2012-11-19 20:15 ` Felipe Balbi
2012-11-20 9:33 ` Nicolas Ferre
2012-11-20 21:44 ` Alan Stern
2012-11-19 18:22 ` [PATCH 207/493] i2c: " Bill Pemberton
[not found] ` <1353349642-3677-207-git-send-email-wfp5p-4Ng6DfrEGID2fBVCVOL8/A@public.gmane.org>
2012-11-20 8:20 ` Jean Delvare
[not found] ` <20121120092046.24496415-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-11-20 13:23 ` Russell King - ARM Linux [this message]
[not found] ` <20121120132342.GP3332-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2012-11-20 13:37 ` Jean Delvare
2012-11-21 11:02 ` Barry Song
2012-11-19 18:23 ` [PATCH 237/493] mmc: " Bill Pemberton
2012-11-20 3:09 ` viresh kumar
2012-11-20 9:55 ` ludovic.desroches
2012-11-22 22:57 ` Guennadi Liakhovetski
2012-11-19 18:23 ` [PATCH 253/493] hwspinlock: " Bill Pemberton
2012-11-20 22:44 ` Linus Walleij
2012-11-19 18:23 ` [PATCH 261/493] sound: " Bill Pemberton
2012-11-19 18:23 ` [PATCH 270/493] arm: " Bill Pemberton
2012-11-20 6:47 ` Mark Brown
2012-11-21 10:53 ` Barry Song
[not found] ` <1353349642-3677-270-git-send-email-wfp5p-4Ng6DfrEGID2fBVCVOL8/A@public.gmane.org>
2012-11-20 7:22 ` Eric Miao
2012-11-20 17:04 ` David Brown
2012-11-21 11:58 ` Kukjin Kim
2012-11-19 18:25 ` [PATCH 403/493] hwspinlock: remove use of __devexit Bill Pemberton
2012-11-20 22:45 ` Linus Walleij
2012-11-19 18:25 ` [PATCH 404/493] i2c: " Bill Pemberton
2012-11-19 18:26 ` [PATCH 414/493] mmc: " Bill Pemberton
2012-11-22 23:04 ` Guennadi Liakhovetski
2012-11-19 18:26 ` [PATCH 431/493] usb: " Bill Pemberton
2012-11-19 20:17 ` Felipe Balbi
2012-11-19 18:26 ` [PATCH 446/493] video: " Bill Pemberton
2012-11-19 18:27 ` [PATCH 484/493] arm: " Bill Pemberton
2012-11-20 7:24 ` Eric Miao
2012-11-21 11:59 ` Kukjin Kim
2012-11-19 18:27 ` [PATCH 491/493] sound: " Bill Pemberton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121120132342.GP3332@n2100.arm.linux.org.uk \
--to=linux-lfz/pmaqli7xmaaqvzeohq@public.gmane.org \
--cc=baohua.song-kQvG35nSl+M@public.gmane.org \
--cc=ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org \
--cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
--cc=gxt-TG0Ac1+ktVePQbnJrJN+5g@public.gmane.org \
--cc=jacmet-OfajU3CKLf1/SzgSGea1oA@public.gmane.org \
--cc=jochen-NIgtFMG+Po8@public.gmane.org \
--cc=khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=mhoffman-xQSgfq/1h4JiLUuM0BA3LQ@public.gmane.org \
--cc=olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org \
--cc=r.marek-/xGekIyIa4Ap1Coe8Ar9gA@public.gmane.org \
--cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org \
--cc=vitalywool-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=wfp5p-4Ng6DfrEGID2fBVCVOL8/A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).