lkml.org 
[lkml]   [2018]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/2] Add kvzalloc_struct to complement kvzalloc_array
From
Date
On Wed, 2018-02-14 at 11:56 -0800, Matthew Wilcox wrote:
> On Wed, Feb 14, 2018 at 11:43:46AM -0800, Joe Perches wrote:
> > On Wed, 2018-02-14 at 11:36 -0800, Matthew Wilcox wrote:
> > > If somebody wants them, then we can add them.
> >
> > Yeah, but I don't think any of it is necessary.
> >
> > How many of these struct+bufsize * count entries
> > actually exist?
>
> Wrong question. How many of them currently exist that don't check for
> integer overflow? How many of them will be added in the future that
> will fail to check for integer overflow?
>
> I chose five at random to fix as demonstration that the API is good.
> There are more; I imagine that Julia will be able to tell us how many.

No such conversions exist in the patch series
you submitted.

What are those?

\
 
 \ /
  Last update: 2018-02-14 21:06    [W:1.045 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site