projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
17eb073
)
get mxge to build, stage 9/many
author
Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Sat, 4 Jul 2009 13:44:39 +0000 (16:44 +0300)
committer
Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Wed, 8 Jul 2009 20:27:22 +0000 (23:27 +0300)
- import MJUM* defines from FreeBSD
sys/sys/param.h
patch
|
blob
|
blame
|
history
diff --git
a/sys/sys/param.h
b/sys/sys/param.h
index
fd1689a
..
97b09d8
100644
(file)
--- a/
sys/sys/param.h
+++ b/
sys/sys/param.h
@@
-248,7
+248,9
@@
#define ctodb(db) /* calculates pages to devblks */ \
((db) << (PAGE_SHIFT - DEV_BSHIFT))
-
+#define MJUMPAGESIZE PAGE_SIZE /* jumbo cluster 4k */
+#define MJUM9BYTES (9 * 1024) /* jumbo cluster 9k */
+#define MJUM16BYTES (16 * 1024) /* jumbo cluster 16k */
/*
* Make this available for most of the kernel. There were too many
* things that included sys/systm.h just for panic().