lkml.org 
[lkml]   [2013]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: configurable partial slab support on UP
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.



\
 
 \ /
  Last update: 2013-07-18 16:43    [W:0.031 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site