Messages in this thread | | | Subject | Re: [PATCH 3/8] list: Out of line INIT_LIST_HEAD and list_del | From | Eric Dumazet <> | Date | Fri, 16 May 2014 17:03:23 -0700 |
| |
On Fri, 2014-05-16 at 14:43 -0700, Andi Kleen wrote: > From: Andi Kleen <ak@linux.intel.com> > > Out of lining these two inlines saves ~21k on my vmlinux > > 14152713 2003976 1507328 17664017 10d8811 vmlinux-before-list > 14131431 2008136 1507328 17646895 10d452f vmlinux-list > > Signed-off-by: Andi Kleen <ak@linux.intel.com> > ---
> + > +void list_del(struct list_head *entry) > +{ > + __list_del(entry->prev, entry->next); > + entry->next = LIST_POISON1; > + entry->prev = LIST_POISON2; > +} > +EXPORT_SYMBOL(list_del);
Have you tried :
CONFIG_DEBUG_LIST=y
Function will be doubly defined/exported then....
BTW, my vmlinux is more like
$ size vmlinux text data bss dec hex filename 8233991 1743032 1904640 11881663 b54cbf vmlinux
Seems I beat you without even trying ;)
| |