git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reduce the size of ppage by 8 bytes using signly linked list
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
mm
/
physical.h
diff --git
a/lunaix-os/includes/lunaix/mm/physical.h
b/lunaix-os/includes/lunaix/mm/physical.h
index 3eac5a1c1d28f0c132c19809e4b6f7049a979d99..bb15e6cf5008cea076810cccf437aef8cc533daf 100644
(file)
--- a/
lunaix-os/includes/lunaix/mm/physical.h
+++ b/
lunaix-os/includes/lunaix/mm/physical.h
@@
-2,7
+2,8
@@
#define __LUNAIX_PHYSICAL_H
#include <lunaix/compiler.h>
#define __LUNAIX_PHYSICAL_H
#include <lunaix/compiler.h>
-#include <sys/mm/physical.h>
+#include <asm/physical.h>
+#include <lunaix/ds/list.h>
/**
* @brief 长久页:不会被缓存,但允许释放
/**
* @brief 长久页:不会被缓存,但允许释放
@@
-45,7
+46,7
@@
struct ppage
};
unsigned short companion;
};
unsigned short companion;
- struct l
list_header
sibs;
+ struct l
ist_node
sibs;
struct ppage_arch arch;
} align(16);
struct ppage_arch arch;
} align(16);