lkml.org 
[lkml]   [2014]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: fs,seq_file: huge allocations for seq file reads
On 04/08/2014 10:49 AM, Dave Jones wrote:
> On Tue, Apr 08, 2014 at 10:45:31AM -0400, Sasha Levin wrote:
>
> > It seems that when we attempt to read huge chunks of data from a seq file
> > there would be no check for the size being read, leading to the kernel
> > attempting to allocate huge chunks of data internally.
> >
> > As far as I remember, there was a PAGE_SIZE limitation on those, but I'm
> > not certain about that. Could someone please confirm it?
>
> I've had this diff sitting around for a while to figure out which
> seq_file we're talking about. I think Al wrote it, I forget..

I'll add it in.

I didn't realize it was a problem with a specific file, I thought it was
an issue with seq files in general.


Thanks,
Sasha


\
 
 \ /
  Last update: 2014-04-08 17:01    [W:0.028 / U:10.008 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site