Merge branch 'slab/for-5.18/trivial' into slab/for-linus

Trivial slab code changes:
- deleting unused parameters and flags
- using helper macros and functions
- making structures static
This commit is contained in:
Vlastimil Babka
2022-03-21 19:46:05 +01:00
4 changed files with 12 additions and 20 deletions

View File

@@ -117,9 +117,6 @@
#define SLAB_RECLAIM_ACCOUNT ((slab_flags_t __force)0x00020000U)
#define SLAB_TEMPORARY SLAB_RECLAIM_ACCOUNT /* Objects are short-lived */
/* Slab deactivation flag */
#define SLAB_DEACTIVATED ((slab_flags_t __force)0x10000000U)
/*
* ZERO_SIZE_PTR will be returned for zero sized kmalloc requests.
*