Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



> Module Name:  src
> Committed By: reinoud
> Date:         Wed Apr 30 12:09:02 UTC 2008
> 
> Modified Files:
>       src/share/man/man9: bufq.9
>       src/sys/kern: bufq_disksort.c bufq_fcfs.c bufq_priocscan.c
>           bufq_readprio.c subr_bufq.c
>       src/sys/sys: bufq.h bufq_impl.h
> 
> Log Message:
> Add a BUFQ_CANCEL() next to BUFQ_PUT() and BUFQ_GET().
> 
> BUFQ_CANCEL(queue, element) removes the specified element previously queued
> on the queue. It returns NULL if it was not found on the queue and the
> element if it was successfully removed.
> 
> Run trough tech-kern and changed name from BUFQ_REVOKE() by suggestion of
> Jason Thorpe.

- what will use this?
- why don't you use TAILQ_FOREACH?

YAMAMOTO Takashi

> To generate a diff of this commit:
> cvs rdiff -r1.14 -r1.15 src/share/man/man9/bufq.9
> cvs rdiff -r1.8 -r1.9 src/sys/kern/bufq_disksort.c
> cvs rdiff -r1.7 -r1.8 src/sys/kern/bufq_fcfs.c
> cvs rdiff -r1.10 -r1.11 src/sys/kern/bufq_priocscan.c \
>     src/sys/kern/bufq_readprio.c
> cvs rdiff -r1.14 -r1.15 src/sys/kern/subr_bufq.c
> cvs rdiff -r1.8 -r1.9 src/sys/sys/bufq.h
> cvs rdiff -r1.6 -r1.7 src/sys/sys/bufq_impl.h
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.


Home | Main Index | Thread Index | Old Index