[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160229210339.GA15095@node.shutemov.name>
Date: Tue, 1 Mar 2016 00:03:40 +0300
From: "Kirill A. Shutemov" <kirill@...temov.name>
To: Johannes Weiner <hannes@...xchg.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-mm <linux-mm@...ck.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
kernel-team <kernel-team@...com>
Subject: Re: [PATCH] mm: readahead: do not cap readahead() and MADV_WILLNEED
On Mon, Feb 29, 2016 at 02:41:59PM -0500, Johannes Weiner wrote:
> That, or switch to read() from a separate thread for cache priming.
mmap(MAP_POPULATE) would save you some copy_to_user() overhead, comparing
to read().
--
Kirill A. Shutemov
Powered by blists - more mailing lists