commit | 0a19e7dd928800da66efe429c25b0adc3a07c534 | [log] [tgz] |
---|---|---|
author | Vlastimil Babka <vbabka@suse.cz> | Sun May 23 01:37:07 2021 +0200 |
committer | Vlastimil Babka <vbabka@suse.cz> | Fri Sep 03 23:56:49 2021 +0200 |
tree | 69c7593e7d2a2d5aaf7a4bb4d1d232441716c680 | |
parent | b3fd64e1451b5efd94aa0ebc755e02558e6f3ca1 [diff] |
mm, slub: allocate private object map for validate_slab_cache() validate_slab_cache() is called either to handle a sysfs write, or from a self-test context. In both situations it's straightforward to preallocate a private object bitmap instead of grabbing the shared static one meant for critical sections, so let's do that. Signed-off-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: Christoph Lameter <cl@linux.com> Acked-by: Mel Gorman <mgorman@techsingularity.net>