Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756300Ab2JKOTd (ORCPT ); Thu, 11 Oct 2012 10:19:33 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:58428 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751560Ab2JKOTc (ORCPT ); Thu, 11 Oct 2012 10:19:32 -0400 MIME-Version: 1.0 Date: Thu, 11 Oct 2012 11:19:30 -0300 Message-ID: Subject: [Q] Default SLAB allocator From: Ezequiel Garcia To: Linux Kernel Mailing List , linux-mm@kvack.org Cc: Tim Bird , celinux-dev@lists.celinuxforum.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 844 Lines: 31 Hello, While I've always thought SLUB was the default and recommended allocator, I'm surprise to find that it's not always the case: $ find arch/*/configs -name "*defconfig" | wc -l 452 $ grep -r "SLOB=y" arch/*/configs/ | wc -l 11 $ grep -r "SLAB=y" arch/*/configs/ | wc -l 245 This shows that, SLUB being the default, there are actually more defconfigs that choose SLAB. I wonder... * Is SLAB a proper choice? or is it just historical an never been re-evaluated? * Does the average embedded guy knows which allocator to choose and what's the impact on his platform? Thanks, Ezequiel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/