Вести с полей
- From
- Slawa Olhovchenkov (2:5030/500)
- To
- All
- Date
- 2007-01-01T21:31:26Z
- Area
- RU.UNIX.BSD
Hello All!
julian 2006-12-06 06:34:57 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 machdep.c
sys/arm/at91 kb920x_machdep.c
sys/arm/sa11x0 assabet_machdep.c
sys/arm/xscale/i80321 ep80219_machdep.c iq31244_machdep.c
sys/arm/xscale/ixp425 avila_machdep.c
sys/ddb db_ps.c
sys/fs/procfs procfs_status.c
sys/i386/i386 machdep.c
sys/ia64/ia64 machdep.c
sys/kern init_main.c kern_clock.c kern_fork.c
kern_idle.c kern_intr.c kern_kse.c
kern_poll.c kern_proc.c kern_resource.c
kern_subr.c kern_switch.c kern_thr.c
kern_thread.c kern_umtx.c ksched.c
sched_4bsd.c sched_ule.c subr_trap.c
tty.c
sys/pc98/pc98 machdep.c
sys/powerpc/powerpc machdep.c
sys/sparc64/sparc64 machdep.c
sys/sun4v/sun4v machdep.c
sys/sys proc.h rtprio.h runq.h sched.h
sys/vm vm_glue.c vm_zeroidle.c
Log:
Threading cleanup.. part 2 of several.
Make part of John Birrell's KSE patch permanent..
Specifically, remove:
Any reference of the ksegrp structure. This feature was
never fully utilised and made things overly complicated.
All code in the scheduler that tried to make threaded programs
fair to unthreaded programs. Libpthread processes will already
do this to some extent and libthr processes already disable it.
Also:
Since this makes such a big change to the scheduler(s), take the opportunity
to rename some structures and elements that had to be moved anyhow.
This makes the code a lot more readable.
The ULE scheduler compiles again but I have no idea if it works.
The 4bsd scheduler still reqires a little cleaning and some functions that now do
ALMOST nothing will go away, but I thought I'd do that as a separate commit.
Tested by David Xu, and Dan Eischen using libthr and libpthread.
... Сигнал к атаке - три зеленых свистка
--- GoldED+/BSD 1.1.5
* Origin: (2:5030/500)
SEEN-BY: 50/12 203 400/814 450/186 1024 451/30 469/418 550/196 4614/20 4635/4
SEEN-BY: 5000/5000 5011/13 5012/46 5015/28 5019/26 5020/154 175 400 545 549
SEEN-BY: 5020/758 1523 1604 1630 2142 2238 2395 2450 2590 2871 4441 5021/3 29
SEEN-BY: 5022/128 5025/3 750 5027/12 5029/32 5030/500 556 966 1080 1900 1957
SEEN-BY: 5030/2828 5031/47 70 5035/38 5040/47 5042/13 5045/7 5049/50 97 5054/1
SEEN-BY: 5054/4 8 9 11 28 35 36 37 45 66 67 70 75 84 85 5059/9 37 5062/1 10
SEEN-BY: 5063/3 5064/7 5076/1 5077/70 5080/80 1003 5082/6 5083/21 5084/9
SEEN-BY: 5085/13 5090/108 5094/4 5095/20 5096/18 5099/11 6001/10
PATH: 5030/500 5020/4441 545 5054/1 37