From Genunix
The 1st Meeting Minutes on OpenSolaris Projects
Attendee: Forrest, Vector
Time: April 5, 2007 4:00pm - 4:30pm
Section 1 Projects
- Checks modules' performance work: 2 engineers for 3 weeks
- Work: Optimize performance.
- Skills: Python knowledge required.
- Removal of SCCS keywords: 1 engineer for 4 weeks
- Work: Anticipate writing script to remove use of #pragma ident
and other keywords.
- Skills: Ability to write shell scripts required.
Section 2 Minutes
P1:
O What we are about to do?
- setup the workspace
- study Phtyon
O What is the basic solution?
- try to get the executed time of functions
- try to get the executed frequency of functions
After we got the basic info, we can determine how to optimize it.
P2:
O Steps to do the removal
1. backup the workspace
2. lookup dir and determine whether a file ought to be removed #ident
3. log the basic info of file
4. check out file
5. remove #ident
6. check in file and goto 2
O Log's format
<file's absolute path> <total lines removed>
<lines number removed>
e.g
usr/src/stand/lib/fs/nfs/brpc.h 1 30
usr/src/stand/lib/fs/nfs/lookup.c 1 35
usr/src/cmd/man/src/util/nsgmls.src/include/ISO8859InputCodingSystem.h 2 1,4
O two kinds of log
- big father log
- child log in every subdir
O How to ensure the removal is correct?
- just do manual check
O How to recover the file modified incorrectly?
- also do manual recovery
O some sample of files embracing ident
------------------------------------------------------------------------
Makefile
25 # ident "%Z%%M% %I% %E% SMI"
Makefile
25 #ident "%Z%%M% %I% %E% SMI"
*.h
15 #pragma ident "%Z%%M% %I% %E% SMI"
*.conf
12 # ident "@(#)rmmount.conf 1.14 05/06/10 SMI"
*.ksh
24 #ident "%Z%%M% %I% %E% SMI"
*.h
1 #pragma ident "@(#)ISO8859InputCodingSystem.h 1.2 97/04/24 SMI"
2 // Copyright (c) 1995 James Clark
3 // See the file COPYING for copying permission.
4 #pragma ident "@(#)ISO8859InputCodingSystem.h 1.4 00/07/17 SMI"
------------------------------------------------------------------------