Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2002 12:46:27 -0800 (PST)
From:      Jake Burkholder <jake@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 8344 for review
Message-ID:  <200203242046.g2OKkR324546@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8344

Change 8344 by jake@jake_k7 on 2002/03/24 12:45:27

	Use a 64 bit status word for the runq bits.

Affected files ...

... //depot/projects/sparc64/sys/sys/runq.h#4 edit
... //depot/user/jake/sparc64-jake/sys/sparc64/include/runq.h#1 add

Differences ...

==== //depot/projects/sparc64/sys/sys/runq.h#4 (text+ko) ====

@@ -29,6 +29,8 @@
 #ifndef	_RUNQ_H_
 #define	_RUNQ_H_
 
+#include <machine/runq.h>
+
 struct kse;
 
 /*
@@ -38,19 +40,6 @@
 #define	RQ_NQS		(64)		/* Number of run queues. */
 #define	RQ_PPQ		(4)		/* Priorities per queue. */
 
-#define	RQB_LEN		(2)		/* Number of priority status words. */
-#define	RQB_L2BPW	(5)		/* Log2(sizeof(rqb_word_t) * NBBY)). */
-#define	RQB_BPW		(1<<RQB_L2BPW)	/* Bits in an rqb_word_t. */
-
-#define	RQB_BIT(pri)	(1 << ((pri) & (RQB_BPW - 1)))
-#define	RQB_WORD(pri)	((pri) >> RQB_L2BPW)
-#define	RQB_FFS(word)	(ffs(word))
-
-/*
- * Type of run queue status word.
- */
-typedef	u_int32_t	rqb_word_t;
-
 /*
  * Head of run queues.
  */

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203242046.g2OKkR324546>