vm: increase the number of sparse memory sectors that can be created

This commit is contained in:
2023-12-24 09:43:52 +00:00
parent 8803c23f08
commit b8934d220c

View File

@@ -23,7 +23,7 @@ struct bcache;
/* maximum number of supported page orders */ /* maximum number of supported page orders */
#define VM_MAX_PAGE_ORDERS (VM_PAGE_MAX_ORDER + 1) #define VM_MAX_PAGE_ORDERS (VM_PAGE_MAX_ORDER + 1)
/* maximum number of sparse memory sectors */ /* maximum number of sparse memory sectors */
#define VM_MAX_SECTORS 1024 #define VM_MAX_SECTORS 8192
/* maximum number of disk sectors that can be stored in a single /* maximum number of disk sectors that can be stored in a single
page. AKA the number of bits in the sector bitmap. page. AKA the number of bits in the sector bitmap.