In running kernel profiling these kept comming out high up the list,
move the code inline to remove calling overhead.
Date: Tue Jun 6 08:58:30 PDT 2000
Workarea: jen.cray.com:/src/lord/xfs-linux
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.3.99pre2-xfs
Modid: 2.3.99pre2-xfs:slinx:63392a
linux/fs/xfs/xfs_log.c - 1.223
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_log.c.diff?r1=text&tr1=1.223&r2=text&tr2=1.222&f=h
- Make xlog_state_finish_copy an inline function, it is only called
from
one place and is very heavily used in transaction code.
linux/fs/xfs/xfs_macros.h - 1.16
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_macros.h.diff?r1=text&tr1=1.16&r2=text&tr2=1.15&f=h
- Stop XFS_BHVTOI from being turned into a function - very small and
heavily
used. Calling the function is no smaller than inlining the code.
|