Messages in this thread | | | Date | Thu, 16 Jan 2014 09:13:21 -0800 | From | Dave Hansen <> | Subject | Re: [RFC][PATCH 2/9] mm: slub: abstract out double cmpxchg option |
| |
On 01/16/2014 08:45 AM, Christoph Lameter wrote: > On Tue, 14 Jan 2014, Dave Hansen wrote: >> With the current code, if you wanted to turn off the double-cmpxchg abd >> get a 56-byte 'struct page' how would you do it? Can you do it with a >> .config, or do you need to hack the code? > > Remove HAVE_ALIGNED_STRUCT_PAGE from a Kconfig file.
SLUB 'selects' it, so it seems to pop back up whenever SLUB is on:
$ grep STRUCT_PAGE ~/build/64bit/.config CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y $ vi ~/build/64bit/.config ... remove from Kconfig file $ grep STRUCT_PAGE ~/build/64bit/.config $ make oldconfig ... no prompt $ grep STRUCT_PAGE ~/build/64bit/.config CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y
| |