Subject: unused buf flags
To: None <>
From: Jason Thorpe <>
List: tech-kern
Date: 01/15/1999 11:27:35
Maybe we can garbage-collect these?

#define B_BAD           0x00000008      /* Bad block revectoring in progress. */
(Used in sys/arch/vax/mscp/mscp.c, but only tested, and never set by

#define B_PAGET         0x00010000      /* Page in/out of page table space. */
(uvm_swap.c and swap_page.c clear this, but nothing sets it or tests it.)

#define B_PGIN          0x00020000      /* Pagein op, so swap() can count it. */
(not used at all)

#define B_TAPE          0x00200000      /* Magnetic tape I/O. */
(see bizarre usage in spec_vnops.c; nothing else references it)

#define B_UAREA         0x00400000      /* Buffer describes Uarea I/O. */
(same as B_PAGET)

The VM-related flags are definitely meaningless in our kernel...

Jason R. Thorpe                             
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 940 5942