public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nix <nix@esperi.org.uk>
To: Adrian Bunk <bunk@stusta.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] schedule obsolete OSS drivers for removal
Date: Mon, 31 Oct 2005 15:59:02 +0000	[thread overview]
Message-ID: <87wtjt7k55.fsf@amaterasu.srvr.nix> (raw)
In-Reply-To: <20051030194951.GJ4180@stusta.de> (Adrian Bunk's message of "30 Oct 2005 19:50:22 -0000")

On 30 Oct 2005, Adrian Bunk said:
> E.g. it's clear that unused code or unused EXPORT_SYMBOL's in the kernel 
> are bloat, so I am working on eliminating such bloat.

And thank you very much for that!

What's most notable to me is a substantial cross-arch reduction in .data
space consumed. This non-FUSE-2.6.13 versus FUSE-2.6.14 UltraSPARC
comparison shows this effect clearly:

-rwxr-xr-x  1 root root 3460304 Oct 13 00:55 vmlinux-2.6.13.4
-rwxr-xr-x  1 root root 3190448 Oct 29 17:18 vmlinux-2.6.14

                         2.6.13.4     2.6.14 
section                      size       size    diff
.text                     2330144    2341280  +10236
.rodata                    198361     199009    +648
.pci_fixup                   1536       1536       0
__ksymtab                   32352      32336     -16
__ksymtab_gpl                3536       4048    +512
__kcrctab                       0          0       0
__kcrctab_gpl                   0          0       0
__ksymtab_strings           44688      45424    +736
__param                      1640       1640       0
.data                      669288     387576 -281712
.data.cacheline_aligned       704        704       0
.data.read_mostly             428      13144  -12716
.fixup                      18256      18268     +12
__ex_table                  15760      15768      +8
.init.text                 109728      94528  -15200
.init.data                   7280       8712   +1432
.init.setup                   792        816     +24
.initcall.init                784        808     +24
.con_initcall.init             16         16       0
.security_initcall.init         0          0       0
.init.ramfs                   134        134       0
.bss                       226528     226152    -376
.note.GNU-stack                 0          0       0
__ex_table.1                  216        216       0
__ex_table.2                   16        496    +480
Total                     3662187    3392611 -269576

On a similarly-configured Athlon the difference in .data is a little
less pronounced, but still there.

UltraSPARC 2.6.13.4 versus 2.6.14 at boot:

Memory: 511576k available (2280k kernel code, 936k data, 128k init) [fffff80000000000,0000000037ebc000]
Memory: 511848k available (2288k kernel code, 672k data, 112k init) [fffff80000000000,0000000037ebc000]

(that's 264K, the same as the .data size difference above)

Athlon 2.6.13.4 versus 2.6.14 at book:

Memory: 774828k/786432k available (2794k kernel code, 11156k reserved, 1022k data, 148k init, 0k highmem)
Memory: 774996k/786432k available (2833k kernel code, 10988k reserved, 808k data, 152k init, 0k highmem)

(that's 214K different in .data although kernel code has grown a little
here, probably thanks to FUSE).

Most OSes cannot claim to shrink across upgrades. Linux, at least the
kernel, can. :)

-- 
`"Gun-wielding recluse gunned down by local police" isn't the epitaph
 I want. I am hoping for "Witnesses reported the sound up to two hundred
 kilometers away" or "Last body part finally located".' --- James Nicoll

  parent reply	other threads:[~2005-10-31 16:01 UTC|newest]

Thread overview: 193+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-30 10:51 [2.6 patch] schedule obsolete OSS drivers for removal Adrian Bunk
2005-10-30 13:41 ` Gene Heskett
2005-10-30 13:51   ` Adrian Bunk
2005-10-30 13:53   ` Alistair John Strachan
2005-10-30 14:27 ` Kyle McMartin
2005-10-30 15:12   ` Adrian Bunk
2005-10-30 15:19     ` Kyle McMartin
2005-10-30 15:53       ` [updated 2.6 " Adrian Bunk
2005-10-31 16:50     ` [2.6 " Lee Revell
2005-11-01 14:55       ` Adrian Bunk
2005-10-30 18:06 ` Andi Kleen
2005-10-30 18:38   ` Adrian Bunk
2005-10-30 19:35     ` Andi Kleen
2005-10-30 19:49       ` Adrian Bunk
2005-10-31 11:09         ` Takashi Iwai
2005-10-31 15:59         ` Nix [this message]
2005-10-31 16:27           ` Michael Buesch
2005-10-31 16:36             ` Nix
2005-10-31  7:06   ` Lee Revell
     [not found] <5r1ql-4Af-11@gated-at.bofh.it>
     [not found] ` <5r2mU-63n-79@gated-at.bofh.it>
     [not found]   ` <5r2FQ-6FS-37@gated-at.bofh.it>
     [not found]     ` <5r3C3-88G-55@gated-at.bofh.it>
     [not found]       ` <5r4ey-wy-17@gated-at.bofh.it>
     [not found]         ` <5r4of-Wo-39@gated-at.bofh.it>
     [not found]           ` <5r50O-1IR-3@gated-at.bofh.it>
     [not found]             ` <5r5k8-2kx-1@gated-at.bofh.it>
     [not found]               ` <5r72E-4AS-5@gated-at.bofh.it>
     [not found]                 ` <5rcOF-4ci-1@gated-at.bofh.it>
     [not found]                   ` <5rgSv-1KJ-41@gated-at.bofh.it>
2006-01-04 14:03                     ` Patrizio Bassi
  -- strict thread matches above, loose matches on Subject: below --
2005-07-26 15:08 Adrian Bunk
2005-07-26 15:41 ` Jesper Juhl
2005-07-26 15:46   ` Adrian Bunk
2005-07-26 15:41 ` Thomas Sailer
2005-07-26 15:48 ` Jeff Garzik
2005-07-26 16:04   ` Adrian Bunk
2005-07-26 16:49   ` Lee Revell
2005-07-26 17:49     ` John W. Linville
2005-07-26 17:03   ` Gene Heskett
2005-07-26 18:13     ` Adrian Bunk
2005-07-27  3:19       ` Gene Heskett
2005-07-26 15:51 ` Lee Revell
2005-07-26 15:57   ` Jeff Garzik
2005-07-26 16:02     ` Lee Revell
2005-07-27 18:24     ` Adrian Bunk
2005-07-27 20:31       ` John W. Linville
2005-07-27 20:43         ` Jeff Garzik
2005-07-28 14:00           ` Alan Cox
2005-07-28 13:43             ` Jaroslav Kysela
2005-07-28 14:15               ` Adrian Bunk
2006-01-03 13:14               ` Adrian Bunk
2005-07-26 16:30   ` Adrian Bunk
2005-07-26 16:17 ` Andrew Haninger
2005-07-31 19:29   ` Adrian Bunk
2005-07-26 16:27 ` Zach Brown
2005-07-26 21:41   ` Krzysztof Halasa
2005-07-26 23:38   ` Zoran Dzelajlija
2005-07-27 23:28     ` Lee Revell
2005-07-27 23:58       ` Rogério Brito
2005-07-28  8:09     ` Takashi Iwai
2005-07-31 19:36     ` Adrian Bunk
2005-07-27 18:39 ` Kyle McMartin
2005-07-28 14:14   ` Adrian Bunk
2005-07-28 15:04 ` Thorsten Knabe
2005-07-28 15:46   ` Adrian Bunk
2005-07-31 13:38 ` James Courtier-Dutton
2006-01-03 13:21 ` Andi Kleen
2006-01-03 13:47   ` Alistair John Strachan
2006-01-03 13:52     ` Andi Kleen
2006-01-03 13:58       ` David Lang
2006-01-03 14:33         ` Alistair John Strachan
2006-01-03 14:34           ` Alistair John Strachan
2006-01-03 14:01       ` Alistair John Strachan
2006-01-03 18:24       ` Lee Revell
     [not found]       ` <mailman.1136300646.6679.linux-kernel2news@redhat.com>
2006-01-04 11:13         ` Pete Zaitcev
2006-01-04 11:16           ` Jaroslav Kysela
2006-01-03 14:38     ` Jan Engelhardt
2006-01-03 14:41       ` Alistair John Strachan
2006-01-03 14:50         ` Jan Engelhardt
2006-01-03 15:22           ` Alistair John Strachan
2006-01-03 16:05             ` Tomasz Torcz
2006-01-03 16:29               ` Alistair John Strachan
2006-01-03 17:03                 ` Olivier Galibert
2006-01-03 17:16                   ` Alistair John Strachan
2006-01-03 19:24                     ` Olivier Galibert
2006-01-03 19:37                       ` Adrian Bunk
2006-01-03 21:40                         ` Olivier Galibert
2006-01-03 23:10                         ` Tomasz Kłoczko
2006-01-04  0:33                           ` Thomas Sailer
2006-01-04  1:48                             ` Olivier Galibert
2006-01-04  9:03                           ` Jan Engelhardt
2006-01-04 12:13                           ` Joern Nettingsmeier
2006-01-04 12:35                             ` Andi Kleen
2006-01-04 12:41                               ` Jaroslav Kysela
2006-01-04 17:31                                 ` Alistair John Strachan
2006-01-04 17:48                                   ` Takashi Iwai
2006-01-05  6:42                       ` Lee Revell
2006-01-03 18:28                   ` Lee Revell
2006-01-03 19:30                     ` Thomas Sailer
2006-01-03 19:37                       ` Jaroslav Kysela
2006-01-03 19:56                         ` Thomas Sailer
2006-01-03 20:06                           ` Jaroslav Kysela
2006-01-04  0:23                             ` Thomas Sailer
2006-01-03 22:39                           ` James Courtier-Dutton
2006-01-03 20:22                   ` Takashi Iwai
2006-01-03 20:37                     ` Tomasz Torcz
2006-01-03 20:44                       ` Takashi Iwai
2006-01-03 20:56                         ` Jesper Juhl
2006-01-03 21:56                           ` Adrian Bunk
2006-01-03 22:11                             ` Jesper Juhl
2006-01-04 11:46                               ` Takashi Iwai
2006-01-04 14:46                                 ` Jan Engelhardt
2006-01-04 16:43                                   ` Marcin Dalecki
2006-01-05 10:57                                     ` Jan Engelhardt
2006-01-05 12:44                                       ` Marcin Dalecki
2006-01-05 18:33                                         ` Lee Revell
2006-01-05 20:03                                           ` Marcin Dalecki
2006-01-05 20:05                                             ` Lee Revell
2006-01-05 20:18                                               ` Marcin Dalecki
2006-01-05 20:28                                                 ` Lee Revell
2006-01-05 20:32                                                   ` Marcin Dalecki
2006-01-05 20:39                                                     ` Lee Revell
2006-01-05 20:32                                                 ` Lee Revell
2006-01-05 20:54                                                   ` Marcin Dalecki
2006-01-05 21:01                                                     ` Lee Revell
2006-01-05 21:43                                                       ` Marcin Dalecki
2006-01-05 21:47                                                         ` Lee Revell
2006-01-05 23:35                                                     ` Jesper Juhl
2006-01-06  0:04                                                       ` Marcin Dalecki
2006-01-06  0:08                                                         ` Jesper Juhl
2006-01-06  1:36                                                         ` Hannu Savolainen
2006-01-06  9:54                                                           ` James Courtier-Dutton
2006-01-06 13:37                                                             ` Hannu Savolainen
2006-01-06 10:34                                                           ` Gabor Gombas
2006-01-06 12:48                                                             ` Hannu Savolainen
2006-01-07 14:09                                                           ` Takashi Iwai
2006-01-07 14:57                                                             ` Marcin Dalecki
2006-01-08  0:21                                                             ` Hannu Savolainen
2006-01-06  2:40                                             ` Diego Calleja
2006-01-06 14:57                                               ` Olivier Galibert
2006-01-06 20:26                                                 ` Jaroslav Kysela
2006-01-07  0:40                                                   ` Marcin Dalecki
2006-01-07  0:56                                                   ` Olivier Galibert
2006-01-05 23:19                                           ` Hannu Savolainen
2006-01-05 23:33                                             ` Lee Revell
2006-01-06 13:20                                               ` caszonyi
2006-01-06 13:43                                                 ` James Courtier-Dutton
2006-01-06 18:24                                                 ` Lee Revell
2006-01-06 18:27                                                 ` Lee Revell
2006-01-04 20:12                                   ` Kyle Moffett
2006-01-04 22:25                                     ` Olivier Galibert
2006-01-03 22:13                             ` Tomasz Torcz
2006-01-03 23:10                               ` Adrian Bunk
2006-01-03 23:51                                 ` Tomasz Kłoczko
2006-01-04  0:03                                   ` Adrian Bunk
2006-01-04  0:46                                     ` Tomasz Kłoczko
2006-01-04  1:01                                       ` Adrian Bunk
2006-01-04  2:51                                         ` Tomasz Kłoczko
2006-01-04  8:50                                           ` Alan Cox
2006-01-04 13:21                                             ` Greg Louis
2006-01-04 14:41                                               ` Adrian Bunk
2006-01-04 10:37                                           ` tapas
2006-01-04 17:28                                             ` Alistair John Strachan
2006-01-05  7:14                                               ` Jan Engelhardt
2006-01-04 17:54                                             ` Takashi Iwai
2006-01-04 18:17                                               ` Florian Schmidt
2006-01-04 19:28                                                 ` Marcin Dalecki
2006-01-04 19:52                                                   ` Florian Schmidt
2006-01-05  7:11                                                     ` Jan Engelhardt
2006-01-05 11:15                                                     ` Takashi Iwai
2006-01-05 21:20                                                   ` Jim Crilly
2006-01-05  7:11                                                 ` Lee Revell
2006-01-05 19:09                                                   ` Edgar Toernig
2006-01-05 19:29                                                     ` Lee Revell
2006-01-05 20:19                                                       ` Lee Revell
2006-01-05 21:05                                                         ` Edgar Toernig
2006-01-05 21:10                                                           ` Lee Revell
2006-01-05 20:24                                                       ` Edgar Toernig
2006-01-05 20:29                                                         ` Lee Revell
2006-01-05  7:16                                             ` Lee Revell
2006-01-05 11:43                                               ` Florian Schmidt
2006-01-05 17:48                                                 ` Lee Revell
2006-01-08 21:07                                                   ` Ville Herva
2006-01-08 21:44                                                     ` Lee Revell
2006-01-09  8:16                                                       ` Ville Herva
2006-01-09 13:52                                                         ` Lee Revell
2006-01-09 14:22                                                           ` Ville Herva
2006-01-09 15:18                                                             ` Lee Revell
2006-01-09 16:21                                                               ` Ville Herva
2006-01-09 16:22                                                                 ` Lee Revell
2006-01-05 18:36                                                 ` Lee Revell
2006-01-05 18:47                                                   ` Tomasz Torcz
2006-01-05 19:10                                                     ` Lee Revell
2006-01-05 19:15                                                   ` Florian Schmidt
2006-01-04  0:28                                   ` Stefan Smietanowski
2006-01-04  1:38                                     ` Tomasz Kłoczko
2006-01-04  9:48                                       ` Stefan Smietanowski
2006-01-05  3:03                                         ` Peter Bortas
2006-01-05  7:13                                           ` Jan Engelhardt
2006-01-05  7:19                                             ` Lee Revell
2006-01-05  8:41                                               ` Stefan Smietanowski
2006-01-05  9:57                                             ` Peter Bortas
2006-01-03 17:09             ` Jan Engelhardt

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=87wtjt7k55.fsf@amaterasu.srvr.nix \
    --to=nix@esperi.org.uk \
    --cc=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.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