All of lore.kernel.org
 help / color / mirror / Atom feed
* configurable partial slab support on UP
@ 2013-07-16 19:10 Uwe Kleine-König
  2013-07-17  7:03 ` Pekka Enberg
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Kleine-König @ 2013-07-16 19:10 UTC (permalink / raw)
  To: Joonsoo Kim, Pekka Enberg; +Cc: Christoph Lameter, linux-kernel, kernel

Hello,

(sorry for breaking the mail threading, but I failed to find the right
mail to reply to.)

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.

This was introduced in commit
	345c905 (slub: Make cpu partial slab support configurable)

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: configurable partial slab support on UP
  2013-07-16 19:10 configurable partial slab support on UP Uwe Kleine-König
@ 2013-07-17  7:03 ` Pekka Enberg
  2013-07-17 14:48   ` Christoph Lameter
  0 siblings, 1 reply; 3+ messages in thread
From: Pekka Enberg @ 2013-07-17  7:03 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Joonsoo Kim, Christoph Lameter, LKML, kernel, Steven Rostedt

On Tue, Jul 16, 2013 at 10:10 PM, Uwe Kleine-König
<u.kleine-koenig@pengutronix.de> wrote:
> Hello,
>
> (sorry for breaking the mail threading, but I failed to find the right
> mail to reply to.)
>
> 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.
>
> 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?

                                Pekka

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: configurable partial slab support on UP
  2013-07-17  7:03 ` Pekka Enberg
@ 2013-07-17 14:48   ` Christoph Lameter
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Lameter @ 2013-07-17 14:48 UTC (permalink / raw)
  To: Pekka Enberg
  Cc: Uwe Kleine-König, Joonsoo Kim, LKML, kernel, Steven Rostedt

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-17 14:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-16 19:10 configurable partial slab support on UP Uwe Kleine-König
2013-07-17  7:03 ` Pekka Enberg
2013-07-17 14:48   ` Christoph Lameter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.