Messages in this thread | | | Date | Wed, 18 Dec 2013 16:48:15 -0800 | From | Dave Hansen <> | Subject | Re: [RFC][PATCH 0/7] re-shrink 'struct page' when SLUB is on. |
| |
On 12/18/2013 04:41 PM, Andrew Morton wrote: >> > Unless somebody can find some holes in this, I think we have no choice >> > but to unset the HAVE_ALIGNED_STRUCT_PAGE config option and revert using >> > the cmpxchg, at least for now. > > So your scary patch series which shrinks struct page while retaining > the cmpxchg_double() might reclaim most of this loss?
That's what I'll test next, but I hope so.
The config tweak is important because it shows a low-risk way to get a small 'struct page', plus get back some performance that we lost and evidently never noticed. A distro that was nearing a release might want to go with this, for instance.
| |