Re: configurable partial slab support on UP

From: Christoph Lameter
Date: Wed Jul 17 2013 - 10:49:01 EST


On Wed, 17 Jul 2013, Pekka Enberg wrote:

> > while doing make oldconfig on an !SMP config using 3.11-rc1 I was asked
> > if I want CONFIG_SLUB_CPU_PARTIAL. AFAICT this setting only affects SMP
> > machines? If so I suggest to make the choice depend on SMP and treat the
> > !SMP case as CONFIG_SLUB_CPU_PARTIAL=n.

Sounds ok.
> >
> > This was introduced in commit
> > 345c905 (slub: Make cpu partial slab support configurable)
>
> The per-CPU partial list is used on UP machines as well so the config
> option does affect them. Whether or not they should be used is another
> topic entirely. Christoph, Joonsoo?

cpu partial pages are used to avoid contention which does not exist in the
UP case. We can simply default to off for UP.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/