[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b20b53b5-346e-3558-2260-44b3d111636b@intel.com>
Date: Tue, 28 Feb 2017 16:43:45 -0800
From: Dave Hansen <dave.hansen@...el.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Aaron Lu <aaron.lu@...el.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Tim Chen <tim.c.chen@...el.com>,
Ying Huang <ying.huang@...el.com>
Subject: Re: [PATCH 0/5] mm: support parallel free of memory
On 02/28/2017 04:39 PM, Andrew Morton wrote:
> Dumb question: why not do this in userspace, presumably as part of the
> malloc() library? malloc knows where all the memory is and should be
> able to kick off N threads to run around munmapping everything?
One of the places we saw this happen was when an app crashed and was
exit()'ing under duress without cleaning up nicely. The time that it
takes to unmap a few TB of 4k pages is pretty excessive.
Powered by blists - more mailing lists