lkml.org 
[lkml]   [1998]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectBloat caused by fbcon
Hello, 

CONFIG_FB seems to bloat the kernel considerably, even with only minimal
options (vgafb, and minimal set of the 1, 4, 8 bpp drivers).

This is straight after a i386 vger kernel compile:

vmlinux is the kernel without CONFIG_FB, vmlinux-fbcon with, other config
identical.

-rwxrwxr-x 1 andi andi 1248898 Jun 28 00:59 vmlinux
-rwxrwxr-x 1 andi andi 1278791 Jun 28 00:44 vmlinux-fbcon

About 30KB.

Here is a bloat-o-meter listing, comparison between vmlinux and vmlinux-fbcon:

Symbol Old size New size Delta Change (%)

rw_intr (new) 1700 1700
fbcon_scroll (new) 1676 1676
vgafb_init (new) 1564 1564
fb_ioctl (new) 1520 1520
parse_options (new) 1388 1388
fbcon_set_font (new) 1184 1184
fbcon_show_logo (new) 868 868
fbcon_vga_bmove (new) 684 684
video_setup (new) 568 568
fbcon_setup (new) 552 552
fb_get_cmap (new) 552 552
parse_options (new) 528 528
fb_set_cmap (new) 444 444
fb_mmap (new) 436 436
fbcon_bmove_rec (new) 396 396
fbcon_clear (new) 372 372
scsi_request_sense (new) 332 332
fbcon_cursor (new) 332 332
vgafb_set_var (new) 324 324
end_scsi_request (new) 316 316
do_int (new) 304 304
do_open (new) 300 300
fbcon_set_palette (new) 276 276
proc_follow_link (new) 272 272
fb_alloc_cmap (new) 264 264
fb_write (new) 244 244
fb_read (new) 244 244
fbcon_bmove (new) 228 228
fbcon_blank (new) 224 224
do_poll (new) 224 224
fbcon_get_font (new) 208 208
fb_copy_cmap (new) 204 204
set_con2fb_map (new) 196 196
fbcon_vga_putcs (new) 196 196
vga_set_split (new) 192 192
fbcon_vga_clear (new) 188 188
vgafbcon_updatevar (new) 172 172
vgafb_set_cmap (new) 172 172
fbcon_putcs (new) 172 172
fbcon_vga_putc (new) 164 164
vgafb_get_cmap (new) 160 160
findsoftfont (new) 140 140
fbcon_putc (new) 140 140
register_framebuffer (new) 132 132
fb_invert_cmaps (new) 132 132
vgafb_pan_display (new) 124 124
proc_readlink (new) 124 124
getdefaultfont (new) 124 124
do_install_cmap (new) 124 124
fbcon_vbl_handler (new) 120 120
fbcon_init (new) 116 116
vgafbcon_blank (new) 112 112
memcpy_fs (new) 112 112
fbcon_startup (new) 112 112
vgafb_setcolreg (new) 108 108
fbmem_read_proc (new) 108 108
vgafbcon_switch (new) 96 96
sprintf 3410 3506 96 +2.82
unregister_framebuffer (new) 84 84
get_stats (new) 84 84
fbcon_vga_revc (new) 84 84
vgafb_getcolreg (new) 76 76
findkey (new) 76 76
findkey (new) 76 76
fbmem_init (new) 76 76
fbcon_vgafb_cursor (new) 76 76
vga_write_cursor (new) 60 60
probe_framebuffers (new) 60 60
cursor_timer_handler (new) 60 60
set_brk (new) 56 56
fb_open (new) 48 48
fb_default_cmap (new) 48 48
fbcon_switch (new) 44 44
fbcon_deinit (new) 44 44
fbcon_changevar (new) 40 40
fb_release (new) 40 40
fbcon_vga_setup (new) 28 28
vgafb_get_var (new) 24 24
vgafb_get_fix (new) 24 24
fbmon_dpms (new) 12 12
vgafb_ioctl (new) 8 8
fbmon_valid_timings (new) 8 8
fbcon_scrolldelta (new) 8 8
vgafb_release (new) 4 4
vgafb_open (new) 4 4
fbcon_dummy_op (new) 4 4
chr_dev_init 60 64 4 +6.67
vgafb_setup (new) 1 1
vgacon_switch 4 (del) -4
vgacon_deinit 4 (del) -4
vgacon_set_font 8 (del) -8
vgacon_scrolldelta 8 (del) -8
vgacon_get_font 8 (del) -8
vgacon_init 52 (del) -52
vgacon_putc 60 (del) -60
do_int 304 244 -60 -19.74
vgacon_blank 64 (del) -64
proc_readlink 124 60 -64 -51.61
do_poll 224 156 -68 -30.36
get_stats 84 8 -76 -90.48
vgacon_putcs 96 (del) -96
vgacon_cursor 124 (del) -124
do_open 300 156 -144 -48.00
vgacon_set_palette 160 (del) -160
proc_follow_link 272 88 -184 -67.65
vgacon_clear 188 (del) -188
scsi_request_sense 332 108 -224 -67.47
vgacon_scroll 300 (del) -300
rw_intr 1700 1388 -312 -18.35
vgacon_startup 658 (del) -658
vgacon_bmove 664 (del) -664
parse_options 1388 392 -996 -71.76


-Andi


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:43    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site