diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-24 13:37:34 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-24 18:07:20 -0400 |
commit | 3f531df2b36c5fc099a8691b3a4668559686ea28 (patch) | |
tree | e5e49af03f0efa42523593ca0388ab19e94e1072 /include | |
parent | 88aa61eb9550c1c92ef63812f09861e4005af581 (diff) |
Update bcachefs sources to 254510a1c269 bcachefs: btree_ptr_sectors_written() now takes bkey_s_c
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/slab.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/slab.h b/include/linux/slab.h index 6dad5653..c17fb5d5 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h @@ -20,6 +20,8 @@ #define ARCH_KMALLOC_MINALIGN 16 #define KMALLOC_MAX_SIZE SIZE_MAX +#define MAX_PAGE_ORDER 10 + static inline size_t kmalloc_size_roundup(size_t s) { return roundup_pow_of_two(s); |