Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965268AbbBBWfn (ORCPT ); Mon, 2 Feb 2015 17:35:43 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:35069 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753728AbbBBWfm (ORCPT ); Mon, 2 Feb 2015 17:35:42 -0500 Date: Mon, 2 Feb 2015 14:35:41 -0800 From: Andrew Morton To: Mel Gorman Cc: linux-mm@kvack.org, Minchan Kim , Vlastimil Babka , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] mm: madvise: Ignore repeated MADV_DONTNEED hints Message-Id: <20150202143541.1efdd2b571413200cb9a4698@linux-foundation.org> In-Reply-To: <20150202221824.GN2395@suse.de> References: <20150202165525.GM2395@suse.de> <20150202140506.392ff6920743f19ea44cff59@linux-foundation.org> <20150202221824.GN2395@suse.de> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 725 Lines: 27 On Mon, 2 Feb 2015 22:18:24 +0000 Mel Gorman 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); return; } ? If so, that doesn't seem stupid? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/