[PATCH 4/7] lib: make bitmap_parse_user a wrapper on bitmap_parse

2019-09-08 Thread Yury Norov
Currently we parse user data byte after byte which leads to overcomplicating of parsing algorithm. There are no performance critical users of bitmap_parse_user(), and so we can duplicate user data to kernel buffer and simply call bitmap_parselist(). This rework lets us unify and simplify

[PATCH 4/7] lib: make bitmap_parse_user a wrapper on bitmap_parse

2019-07-21 Thread Yury Norov
>From Yury Norov Currently we parse user data byte after byte which leads to overcomplicating of parsing algorithm. There are no performance critical users of bitmap_parse_user(), and so we can duplicate user data to kernel buffer and simply call bitmap_parselist(). This rework lets us unify and

Re: [PATCH 4/7] lib: make bitmap_parse_user a wrapper on bitmap_parse

2019-05-08 Thread Andy Shevchenko
On Tue, Apr 30, 2019 at 06:06:33PM -0700, Yury Norov wrote: > Currently we parse user data byte after byte which leads to > overcomplicating of parsing algorithm. There are no performance > critical users of bitmap_parse_user(), and so we can duplicate > user data to kernel buffer and simply call

[PATCH 4/7] lib: make bitmap_parse_user a wrapper on bitmap_parse

2019-04-30 Thread Yury Norov
Currently we parse user data byte after byte which leads to overcomplicating of parsing algorithm. There are no performance critical users of bitmap_parse_user(), and so we can duplicate user data to kernel buffer and simply call bitmap_parselist(). This rework lets us unify and simplify