From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752830AbaEZPeO (ORCPT ); Mon, 26 May 2014 11:34:14 -0400 Received: from casper.infradead.org ([85.118.1.10]:33459 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751704AbaEZPeM (ORCPT ); Mon, 26 May 2014 11:34:12 -0400 Message-Id: <20140526145605.016140154@infradead.org> User-Agent: quilt/0.60-1 Date: Mon, 26 May 2014 16:56:05 +0200 From: Peter Zijlstra To: linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Christoph Lameter , Thomas Gleixner , Andrew Morton , Hugh Dickins , Mel Gorman , Roland Dreier , Sean Hefty , Hal Rosenstock , Mike Marciniszyn , Peter Zijlstra Subject: [RFC][PATCH 0/5] VM_PINNED Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, I mentioned at LSF/MM that I wanted to revive this, and at the time there were no disagreements. I finally got around to refreshing the patch(es) so here goes. These patches introduce VM_PINNED infrastructure, vma tracking of persistent 'pinned' page ranges. Pinned is anything that has a fixed phys address (as required for say IO DMA engines) and thus cannot use the weaker VM_LOCKED. One popular way to pin pages is through get_user_pages() but that not nessecarily the only way. Roland, as said, I need some IB assistance, see patches 4 and 5, where I got lost in the qib and ipath code. Patches 1-3 compile tested.