kernel: remove unused functionality

This commit is contained in:
2026-03-29 14:47:07 +01:00
parent 325699d64a
commit 1982ca38ef
10 changed files with 0 additions and 503 deletions
-8
View File
@@ -14,8 +14,6 @@
extern "C" {
#endif
struct bcache;
/* maximum number of NUMA nodes */
#define VM_MAX_NODES 64
/* maximum number of memory zones per node */
@@ -207,7 +205,6 @@ struct vm_page {
/* owner-specific pointer */
union {
struct vm_slab *p_slab;
struct bcache *p_bcache;
void *p_priv0;
};
@@ -231,15 +228,10 @@ struct vm_page {
};
union {
/* used by bcache when sector size is < page size. bitmap of
* present/missing sectors */
DECLARE_BITMAP(p_blockbits, VM_MAX_SECTORS_PER_PAGE);
uint32_t p_priv2;
};
union {
/* sector address, used by bcache */
sectors_t p_blockid;
/* offset of this page within the vm_object it is a part of */
off_t p_vmo_offset;