Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966210AbWLDT4J (ORCPT ); Mon, 4 Dec 2006 14:56:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965885AbWLDT4I (ORCPT ); Mon, 4 Dec 2006 14:56:08 -0500 Received: from omx1-ext.sgi.com ([192.48.179.11]:38741 "EHLO omx1.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S966119AbWLDT4F (ORCPT ); Mon, 4 Dec 2006 14:56:05 -0500 Date: Mon, 4 Dec 2006 11:55:50 -0800 (PST) From: Christoph Lameter To: Andrew Morton cc: Eric Dumazet , David Miller , linux-kernel@vger.kernel.org Subject: Re: [PATCH] SLAB : use a multiply instead of a divide in obj_to_index() In-Reply-To: <20061204114954.165107b6.akpm@osdl.org> Message-ID: References: <4564C28B.30604@redhat.com> <200612041741.51846.dada1@cosmosbay.com> <200612041918.29682.dada1@cosmosbay.com> <20061204114954.165107b6.akpm@osdl.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 442 Lines: 9 This is similar stuff to asm-generic/div64.h right? The divide overhead depends on the platform? Maybe it would better to place it in asm-generic/div.h and then have platform specific functions? - 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/