Re: [PATCH 7/7] strip down get_len() to a call to rand32()
Dave Jones <[email protected]> Tue, 17 Mar 2015 10:38:35 -0400
| Newsgroups | org.kernel.vger.trinity |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Mar 16, 2015 at 01:27:07PM -0700, [email protected] wrote: > From: Tyson Smith <[email protected]> > > The body of get_len() was the same as rand32() so applying it to a value > from rand32() didn't offer much value. A switch case could be > added that generates other length like values as well. This could include > 2^n +/- ~2, page_size +/- 1, MAX_INT... etc. Makes sense, but we could go a step further, and just remove random-length.c entirely, and have generate-args.c just do the rand32 call. (same for the 2-3 syscalls that call it) Dave