OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] Uninline fork.c/exit.c
Re: [PATCH] Uninline fork.c/exit.c [message #21113 is a reply to message #21100] Tue, 02 October 2007 06:40 Go to previous message
Alexey Dobriyan is currently offline  Alexey Dobriyan
Messages: 195
Registered: August 2006
Senior Member
On Mon, Oct 01, 2007 at 11:08:14AM -0700, Arjan van de Ven wrote:
> On Mon, 1 Oct 2007 16:15:53 +0400
> Alexey Dobriyan <adobriyan@sw.ru> wrote:
> 
> > Save ~650 bytes here.
> > 
> > add/remove: 4/0 grow/shrink: 0/7 up/down: 430/-1088 (-658)
> > function                                     old     new   delta
> > __copy_fs_struct                               -     202    +202
> > __put_fs_struct                                -     112    +112
> > __exit_fs                                      -      58     +58
> > __exit_files                                   -      58     +58
> > exit_files                                    58       2     -56
> > put_fs_struct                                112       5    -107
> > exit_fs                                      161       2    -159
> > sys_unshare                                  774     590    -184
> > copy_process                                4031    3840    -191
> > do_exit                                     1791    1597    -194
> > copy_fs_struct                               202       5    -197
> > 
> > No difference in lmbench lat_proc tests on 2-way Opteron 246.
> > Smaaaal degradation on UP P4 (within errors).
> > 
> 
> is there any impact on stack usage?

No differences in checkstack output which threshold is 100 bytes.
 
Read Message
Read Message
Read Message
Previous Topic: [PATCH 0/3] capabilities: per-process capbset
Next Topic: [patch -mm 2/5] mqueue namespace : add unshare support
Goto Forum:
  


Current Time: Sun Aug 03 02:57:57 GMT 2025

Total time taken to generate the page: 1.17415 seconds