Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964798AbWJCPUr (ORCPT ); Tue, 3 Oct 2006 11:20:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964857AbWJCPUq (ORCPT ); Tue, 3 Oct 2006 11:20:46 -0400 Received: from mga05.intel.com ([192.55.52.89]:39018 "EHLO fmsmga101.fm.intel.com") by vger.kernel.org with ESMTP id S964798AbWJCPUq (ORCPT ); Tue, 3 Oct 2006 11:20:46 -0400 X-ExtLoop1: 1 X-IronPort-AV: i="4.09,251,1157353200"; d="scan'208"; a="140951372:sNHT1232257124" Message-ID: <1479.10.24.212.168.1159888832.squirrel@linux.intel.com> In-Reply-To: <200610030816.27941.reinette.chatre@linux.intel.com> References: <200610030816.27941.reinette.chatre@linux.intel.com> Date: Tue, 3 Oct 2006 08:20:32 -0700 (PDT) Subject: Re: [PATCH] bitmap: bitmap_parse takes a kernel buffer instead of a user buffer From: inaky@linux.intel.com To: "Reinette Chatre" Cc: "Andrew Morton" , linux-kernel@vger.kernel.org, "Inaky Perez-Gonzalez" User-Agent: SquirrelMail/1.4.6-7.el4.centos4 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Priority: 3 (Normal) Importance: Normal Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1015 Lines: 26 Hi Andrew We are going to use this in the Linux UWB project; is it possible/makes it sense to get it in? > lib/bitmap.c:bitmap_parse() is a library function that received as input a > user buffer. This seemed to have originated from the way the write_proc > function of the /proc filesystem operates. > > This function will be useful for other uses as well; for example, taking > input for /sysfs instead of /proc, so it was changed to accept kernel > buffers. We have this use for the Linux UWB project, as part as the > upcoming bandwidth allocator code. > > Only a few routines used this function and they were changed too. > > Signed-off-by: Reinette Chatre Signed-off-by: Inaky Perez-Gonzalez -- Inaky - 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/