Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757649Ab0DIKdw (ORCPT ); Fri, 9 Apr 2010 06:33:52 -0400 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 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=P20sH3IgBa2gdeZfn/0ztkX1UdG5LQRdLT5FXwnGb8upMZCgB9EXlvnT6sqH8LWCsl idSeYR39MgkMZSMYpyKE4V0j7OCefHS7Fk4MSz17aPjPC/qUwwl40oB9/dxN9S0EbYBz aqugFQPHgw+D4AfWqP2fNF758LEBgs4g75xBE= MIME-Version: 1.0 In-Reply-To: <20100409101503.5051.3805.sendpatchset@localhost.localdomain> References: <20100409101442.5051.99812.sendpatchset@localhost.localdomain> <20100409101503.5051.3805.sendpatchset@localhost.localdomain> From: Changli Gao Date: Fri, 9 Apr 2010 18:33:29 +0800 Message-ID: Subject: Re: [Patch 2/3] sysctl: add proc_do_large_bitmap To: Amerigo Wang Cc: linux-kernel@vger.kernel.org, Octavian Purdila , ebiederm@xmission.com, Eric Dumazet , netdev@vger.kernel.org, Neil Horman , David Miller Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 753 Lines: 22 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 suite? -- Regards, Changli Gao(xiaosuo@gmail.com) -- 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/