Kernel

共257篇文章。

RELENG_6 soon

Development

Scott Long has warned that RELENG_6 would be branched soon. At this point, most part of FreeBSD-CURRENT is considered to be “stable” while some of the drivers and ULE scheduler is still under revamp. Once all bugs found gets fixed we will release 6.0.

HEAD will be soft frozen until 6.0-RELEASE. I will begin to integrate some of minor changes there.

参与评论:RELENG_6 soon

The ULE issue

Kernel

Now I got (partially) the point:

  • A newly fork’ed thread grabs Giant
  • Subsequently, the mutex procedure will call turnstile_wait
  • However, the td->td_sched->ke_runq is NULL (means that some part of the new thread is not initialized completely)
  • So boom! panic.

Interestingly this does not happen in !PREEMPTION case.

Now my question are:

  1. who forks?
  2. is it the child? the parent?
  3. why the initialization is not completed with a wrong result?
参与评论:The ULE issue

Still ULE+PREEMPTION

Kernel

I have done several experiments/asserts to ensure that the panic is related to ULE+PREEMPTION case only.

  • ULE: no panic
  • 4BSD: no panic
  • 4BSD+PREEMPTION: no panic

My latest progress is that I found that sched_switch in ULE for the threaded case, can decide whether subsequent call would panic. Investigating.

参与评论:Still ULE+PREEMPTION

Working on ULE

Kernel

My company has offered me some test equipment (namely, a HP 360 with ILO, which is *great* for debugging at home!), and I has started to trip over the ULE code and find for bugs.

参与评论:Working on ULE

keys of (j),(z), etc. in FreeBSD scheduler related stuff's comments

Cheatsheets

You can obtain latest list from sys/sys/proc.h:

参与评论:keys of (j),(z), etc. in FreeBSD scheduler related stuff's comments

an(4) fixed

Kernel

Today quakelee@ has reported that an(4) is broken with a recent -CURRENT. I have identified that that was related to our recent ifnet change and has fixed it under scottl@’s approval.

参与评论:an(4) fixed
搜索文章…(按ESC退出)