From mboxrd@z Thu Jan 1 00:00:00 1970 From: Changli Gao Subject: Re: [Patch 2/3] sysctl: add proc_do_large_bitmap Date: Fri, 9 Apr 2010 18:33:29 +0800 Message-ID: References: <20100409101442.5051.99812.sendpatchset@localhost.localdomain> <20100409101503.5051.3805.sendpatchset@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-kernel@vger.kernel.org, Octavian Purdila , ebiederm@xmission.com, Eric Dumazet , netdev@vger.kernel.org, Neil Horman , David Miller To: Amerigo Wang Return-path: Received: from mail-gx0-f217.google.com ([209.85.217.217]:50688 "EHLO mail-gx0-f217.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754733Ab0DIKdu convert rfc822-to-8bit (ORCPT ); Fri, 9 Apr 2010 06:33:50 -0400 In-Reply-To: <20100409101503.5051.3805.sendpatchset@localhost.localdomain> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Apr 9, 2010 at 6:11 PM, Amerigo Wang wrote: > From: Octavian Purdila > > The new function can be used to read/write large bitmaps via /proc. A > comma separated range format is used for compact output and input > (e.g. 1,3-4,10-10). > > Writing into the file will first reset the bitmap then update it > based on the given input. > We have bitmap_scnprintf() and bitmap_parse_user(), why invent a new su= ite? --=20 Regards=EF=BC=8C Changli Gao(xiaosuo@gmail.com)