lkml.org 
[lkml]   [2015]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH] mm: madvise: Ignore repeated MADV_DONTNEED hints
From
Date
On Mon, 2015-02-02 at 14:35 -0800, Andrew Morton wrote:
> On Mon, 2 Feb 2015 22:18:24 +0000 Mel Gorman <mgorman@suse.de> wrote:
>
> > > Is there something
> > > preventing this from being addressed within glibc?
> >
> > I doubt it other than I expect they'll punt it back and blame either the
> > application for being stupid or the kernel for being slow.
>
> *Is* the application being stupid? What is it actually doing?
> Something like
>
> pthread_routine()
> {
> p = malloc(X);
> do_some(work);
> free(p);

Ebizzy adds a time based loop in there. But yeah, pretty much a standard
pthread model.



\
 
 \ /
  Last update: 2015-02-03 01:41    [W:0.211 / U:0.916 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site