Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932635Ab3EOUTk (ORCPT ); Wed, 15 May 2013 16:19:40 -0400 Received: from mga03.intel.com ([143.182.124.21]:47686 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754960Ab3EOUTj (ORCPT ); Wed, 15 May 2013 16:19:39 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,679,1363158000"; d="scan'208";a="242095634" From: Andi Kleen To: Kent Overstreet Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-aio@kvack.org, akpm@linux-foundation.org, Tejun Heo , Oleg Nesterov , Christoph Lameter , Ingo Molnar Subject: Re: [PATCH 17/21] Percpu tag allocator References: <1368494338-7069-1-git-send-email-koverstreet@google.com> <1368494338-7069-18-git-send-email-koverstreet@google.com> Date: Wed, 15 May 2013 13:19:37 -0700 In-Reply-To: <1368494338-7069-18-git-send-email-koverstreet@google.com> (Kent Overstreet's message of "Mon, 13 May 2013 18:18:54 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 552 Lines: 18 Kent Overstreet writes: > Allocates integers out of a predefined range - for use by e.g. a driver > to allocate tags for communicating with the device. Can this really not be merged with idr.c ? Would a idr per cpu do? -Andi -- ak@linux.intel.com -- Speaking for myself only -- 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/