diff options
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3478,11 +3478,11 @@ free_done: | |||
3478 | * Release an obj back to its cache. If the obj has a constructed state, it must | 3478 | * Release an obj back to its cache. If the obj has a constructed state, it must |
3479 | * be in this state _before_ it is released. Called with disabled ints. | 3479 | * be in this state _before_ it is released. Called with disabled ints. |
3480 | */ | 3480 | */ |
3481 | static inline void __cache_free(struct kmem_cache *cachep, void *objp, | 3481 | static __always_inline void __cache_free(struct kmem_cache *cachep, void *objp, |
3482 | unsigned long caller) | 3482 | unsigned long caller) |
3483 | { | 3483 | { |
3484 | /* Put the object into the quarantine, don't touch it for now. */ | 3484 | /* Put the object into the quarantine, don't touch it for now. */ |
3485 | if (kasan_slab_free(cachep, objp)) | 3485 | if (kasan_slab_free(cachep, objp, _RET_IP_)) |
3486 | return; | 3486 | return; |
3487 | 3487 | ||
3488 | ___cache_free(cachep, objp, caller); | 3488 | ___cache_free(cachep, objp, caller); |