Re: [patch] slub: default min_partial to at least highest cpus per node

From: David Rientjes
Date: Tue Apr 07 2009 - 16:23:51 EST


On Tue, 7 Apr 2009, Pekka Enberg wrote:

> > If you think that's acceptable, I'd be just as satisfied with that approach
> > as long as all archs have valid cpu_to_node() mappings at the time of
> > CPU_UP_PREPARE.
>
> Well, that doesn't change the current behavior, so sure, I think it's
> acceptable. And if the new defaults seem reasonable enough, we can probably
> get rid of the tunable altogether.
>

I'd like to remove MAX_PARTIAL and replace it with nr_cpu_ids.

The tunable still makes sense to increase slowpath performance by avoiding
the page allocator on machines where memory is abundant. That remains
unchanged from when I added it.

> AFAICT, the Documentation/ABI directory is the right place for this kind of
> stuff.
>

Ok.
--
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/