設計:
用不同的slot裝不同段的memory
實作:
1.有一個free slot的array ,有不用的memory就要一個slot來放,形成一個hole list, 以
hole_head指向開頭
2.hole list用base address的大小排列,造成每次釋放memory的時間較要求memory久
3.memory分配是以first fit方式進行
2007年5月10日 星期四
2007年4月23日 星期一
simple svn server setup
1.configure file of svn server is in /etc/conf.d
a. SVNSERVE_OPTS="--root=repository_path" set ur repository path here
b. SVNSERVE_USER SVNSERVE_GROUP set server's user and group, special user and group is good for safety
2."svnadmin create repository_dir" can create repository
3.there are other configure files in repository_dir/conf
a. u can just use a passwd-db and not to specify an authz-db for no path-base access
b. edit username and password in passwd-db file
4.remember to change owner of repository_dir and start svnserve in /etc/init.d
5.u can initiate ur repository with "svn import"
6.then use "svn checkout" and "svn commit" to sent ur modified file
a. SVNSERVE_OPTS="--root=repository_path" set ur repository path here
b. SVNSERVE_USER SVNSERVE_GROUP set server's user and group, special user and group is good for safety
2."svnadmin create repository_dir" can create repository
3.there are other configure files in repository_dir/conf
a. u can just use a passwd-db and not to specify an authz-db for no path-base access
b. edit username and password in passwd-db file
4.remember to change owner of repository_dir and start svnserve in /etc/init.d
5.u can initiate ur repository with "svn import"
6.then use "svn checkout" and "svn commit" to sent ur modified file
訂閱:
文章 (Atom)