SVNews r205237

NOTE: This service is experimental and subject to change! Use at your own risk!

2010-03-17 03:02:48 - r205237 by lstewart (Lawrence Stewart)

Complete list of files affected by revision r205237:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /user/lstewart/alq_varlen_head/sys/kern/kern_alq.c  
  History   Contents   Diff   MODIFY   /user/lstewart/alq_varlen_head/sys/sys/alq.h  

Commit message:

- Rework the way thread ordering is enforced so that it actually behaves as
  expected (issue discovered during detailed testing). Ordering is now an
  off-by-default option that can be enabled at ALQ creation time using the
  ALQ_ORDERED flag.

- Add an alq_open_flags() KPI call to allow the new ALQ_ORDERED flag to be
  specified. alq_open() is now implemented as a wrapper around alq_open_flags.

- Rename alq_postn() to alq_post_flags() to keep the naming consistent.

- Keep a record of some useful debugging printf's (will be removed in a later
  diff).

- Remove some no longer relevant assertions.

- Introduce the AQ_VARLEN flag, used internally to indicate the ALQ is variable
  length message capable.

- Protect alq_getn/alq_post from 0 length writes so that the "use less than you
  asked for" feature works in contexts where no data may be generated.

Sponsored by:   FreeBSD Foundation

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 27 ms, 2 files printed. Current time is 2010-09-07 00:53:05. All times are in UTC/GMT.