Re: [Patch 2/3] sysctl: add proc_do_large_bitmap

From: Cong Wang
Date: Mon Apr 12 2010 - 02:33:40 EST


Changli Gao wrote:
On Fri, Apr 9, 2010 at 6:11 PM, Amerigo Wang <amwang@xxxxxxxxxx> wrote:
From: Octavian Purdila <opurdila@xxxxxxxxxxx>

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?



Because they don't accept '-'.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/