mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-06 13:09:50 +00:00
Don't create a "struct vpgqueues" for PQ_NONE.
This commit is contained in:
parent
6dd671ea60
commit
514bfcc440
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49720
@ -61,7 +61,7 @@
|
||||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* rights to redistribute these changes.
|
||||
*
|
||||
* $Id: vm_page.h,v 1.64 1999/07/31 18:31:00 alc Exp $
|
||||
* $Id: vm_page.h,v 1.65 1999/08/12 21:16:53 alc Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -193,12 +193,12 @@ struct vm_page {
|
||||
|
||||
#define PQ_L2_MASK (PQ_L2_SIZE - 1)
|
||||
|
||||
#define PQ_NONE 0
|
||||
#define PQ_FREE 1
|
||||
#define PQ_INACTIVE (1 + 1*PQ_L2_SIZE)
|
||||
#define PQ_ACTIVE (2 + 1*PQ_L2_SIZE)
|
||||
#define PQ_CACHE (3 + 1*PQ_L2_SIZE)
|
||||
#define PQ_COUNT (3 + 2*PQ_L2_SIZE)
|
||||
#define PQ_NONE PQ_COUNT
|
||||
#define PQ_FREE 0
|
||||
#define PQ_INACTIVE PQ_L2_SIZE
|
||||
#define PQ_ACTIVE (1 + PQ_L2_SIZE)
|
||||
#define PQ_CACHE (2 + PQ_L2_SIZE)
|
||||
#define PQ_COUNT (2 + 2*PQ_L2_SIZE)
|
||||
|
||||
extern struct vpgqueues {
|
||||
struct pglist *pl;
|
||||
|
Loading…
Reference in New Issue
Block a user