lkml.org 
[lkml]   [2010]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [Patch 2/3] sysctl: add proc_do_large_bitmap
    Date
    On Friday 09 April 2010 13:33:29 you wrote:
    > On Fri, Apr 9, 2010 at 6:11 PM, Amerigo Wang <amwang@redhat.com> wrote:
    > > From: Octavian Purdila <opurdila@ixiacom.com>
    > >
    > > 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?
    >

    A decimal comma separated ranges seems the best option for this feature, and
    unfortunately both of the above functions only support hexadecimal and no
    ranges.


    \
     
     \ /
      Last update: 2010-04-09 14:37    [W:0.020 / U:2.424 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site