Re: [PATCH 4.14 27/50] mm, slub: consider rest of partial list if acquire_slab() fails

2021-03-10 Thread Greg Kroah-Hartman
On Wed, Mar 10, 2021 at 10:43:33AM -0800, Linus Torvalds wrote: > Just a note to the stable tree: this commit has been reverted > upstream, because it causes a huge performance drop (admittedly on a > load and setup that may not be all that relevant to most people). > > It was applied to 4.4, 4.9

Re: [PATCH 4.14 27/50] mm, slub: consider rest of partial list if acquire_slab() fails

2021-03-10 Thread Linus Torvalds
Just a note to the stable tree: this commit has been reverted upstream, because it causes a huge performance drop (admittedly on a load and setup that may not be all that relevant to most people). It was applied to 4.4, 4.9 and 4.12, because the commit it was marked as "fixing" is from 2012, but

[PATCH 4.14 27/50] mm, slub: consider rest of partial list if acquire_slab() fails

2021-01-22 Thread Greg Kroah-Hartman
From: Jann Horn commit 8ff60eb052eeba95cfb3efe16b08c9199f8121cf upstream. acquire_slab() fails if there is contention on the freelist of the page (probably because some other CPU is concurrently freeing an object from the page). In that case, it might make sense to look for a different page