cvs commit: src/sys/cam/scsi scsi_target.c src/sys/coda coda_psdev.c src/sys/dev/aac aac.c src/sys/dev/bktr bktr_core.c src/sys/dev/firewire firewire.c src/sys/dev/kbd kbd.c src/sys/dev/nmdm nmdm.c src/sys/dev/random randomdev.c ...

John Baldwin jhb at FreeBSD.org
Sun Nov 9 16:41:10 PST 2003


On 09-Nov-2003 Seigo Tanimura wrote:
> tanimura    2003/11/09 01:17:26 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/cam/scsi         scsi_target.c 
>     sys/coda             coda_psdev.c 
>     sys/dev/aac          aac.c 
>     sys/dev/bktr         bktr_core.c 
>     sys/dev/firewire     firewire.c 
>     sys/dev/kbd          kbd.c 
>     sys/dev/nmdm         nmdm.c 
>     sys/dev/random       randomdev.c 
>     sys/dev/sab          sab.c 
>     sys/dev/snp          snp.c 
>     sys/dev/sound/midi   midibuf.c 
>     sys/dev/sound/pcm    channel.c 
>     sys/dev/usb          ucom.c ugen.c uhid.c ums.c usb.c 
>     sys/dev/zs           zs.c 
>     sys/i386/bios        apm.c 
>     sys/i386/isa         asc.c cx.c istallion.c mse.c spic.c 
>                          stallion.c 
>     sys/i4b/driver       i4b_rbch.c i4b_tel.c 
>     sys/i4b/layer4       i4b_i4bdrv.c 
>     sys/isa              psm.c 
>     sys/kern             kern_condvar.c kern_event.c subr_log.c 
>                          sys_generic.c sys_pipe.c tty.c tty_pty.c 
>                          uipc_socket.c uipc_socket2.c vfs_subr.c 
>     sys/net              bpf.c if_tap.c if_tun.c 
>     sys/pc98/pc98        mse.c 
>     sys/pccard           mecia.c pccard.c pcic.c 
>     sys/sys              condvar.h selinfo.h 
>   Log:
>   - Implement selwakeuppri() which allows raising the priority of a
>     thread being waken up.  The thread waken up can run at a priority as
>     high as after tsleep().
>   
>   - Replace selwakeup()s with selwakeuppri()s and pass appropriate
>     priorities.
>   
>   - Add cv_broadcastpri() which raises the priority of the broadcast
>     threads.  Used by selwakeuppri() if collision occurs.
>   
>   Not objected in:        -arch, -current

Sorry I didn't speak up on arch@, just too busy.  But, why do you need
to bump up the priority of the thread you are waking up?

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the cvs-src mailing list