Commit ba7a896
mm/slub: Replace sort_r() with sort() for debugfs stack trace sorting
The comparison function used to sort stack trace locations in debugfs
never relied on the third argument. Therefore, sort_r() is unnecessary.
Switch to sort() with a two-argument comparison function to keep the
code simple and aligned with the intended usage.
Signed-off-by: Kuan-Wei Chiu <[email protected]>
Reviewed-by: Harry Yoo <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>1 parent e1c4350 commit ba7a896
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7726 | 7726 | | |
7727 | 7727 | | |
7728 | 7728 | | |
7729 | | - | |
| 7729 | + | |
7730 | 7730 | | |
7731 | 7731 | | |
7732 | 7732 | | |
| |||
7793 | 7793 | | |
7794 | 7794 | | |
7795 | 7795 | | |
7796 | | - | |
7797 | | - | |
| 7796 | + | |
| 7797 | + | |
7798 | 7798 | | |
7799 | 7799 | | |
7800 | 7800 | | |
| |||
0 commit comments