Commit 4ef3f5a
committed
mm/slub: convert object_map_lock to non-raw spinlock
The only remaining user of object_map_lock is list_slab_objects().
Obtaining the lock there used to happen under slab_lock() which implied
disabling irqs on PREEMPT_RT, thus it's a raw_spinlock. With the
slab_lock() removed, we can convert it to a normal spinlock.
Also remove the get_map()/put_map() wrappers as list_slab_objects()
became their only remaining user.
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: David Rientjes <rientjes@google.com>
Reviewed-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>1 parent 41bec7c commit 4ef3f5a
1 file changed
Lines changed: 6 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
568 | | - | |
| 568 | + | |
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | 602 | | |
627 | 603 | | |
628 | 604 | | |
| |||
4368 | 4344 | | |
4369 | 4345 | | |
4370 | 4346 | | |
4371 | | - | |
4372 | | - | |
4373 | 4347 | | |
4374 | 4348 | | |
4375 | 4349 | | |
4376 | 4350 | | |
4377 | | - | |
| 4351 | + | |
| 4352 | + | |
| 4353 | + | |
4378 | 4354 | | |
4379 | 4355 | | |
4380 | | - | |
| 4356 | + | |
4381 | 4357 | | |
4382 | 4358 | | |
4383 | 4359 | | |
4384 | 4360 | | |
4385 | | - | |
| 4361 | + | |
4386 | 4362 | | |
4387 | 4363 | | |
4388 | 4364 | | |
| |||
0 commit comments