From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757609AbZHGMHq (ORCPT ); Fri, 7 Aug 2009 08:07:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752028AbZHGMHp (ORCPT ); Fri, 7 Aug 2009 08:07:45 -0400 Received: from fg-out-1718.google.com ([72.14.220.159]:56378 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751144AbZHGMHo convert rfc822-to-8bit (ORCPT ); Fri, 7 Aug 2009 08:07:44 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=TuETigvbvJ4kpckuoBaYROPu18TqLHjjmEFv2KrtLuA5OEztC3+XCvvZ7TmNuytfZ0 3XfJC74eRNUs1z+TIOpHou1GUX+aaTUdHU/SwyPMNOotzfUpFSRC+dhXvDslbd0Z075h SyG0Qz//SZ1n/Mp8+8+fN6LJatpajzjhseKvE= MIME-Version: 1.0 In-Reply-To: <20090807095426.GI8725@shareable.org> References: <200908061208.22131.laurent.pinchart@ideasonboard.com> <20090806222543.GG31579@n2100.arm.linux.org.uk> <1249624766.32621.61.camel@david-laptop> <200908070958.31322.laurent.pinchart@ideasonboard.com> <20090807081041.GB18343@n2100.arm.linux.org.uk> <20090807095426.GI8725@shareable.org> Date: Fri, 7 Aug 2009 14:07:43 +0200 Message-ID: <761ea48b0908070507n5c580455pb86e5240a7cf6c0c@mail.gmail.com> Subject: Re: How to efficiently handle DMA and cache on ARMv7 ? (was "Is get_user_pages() enough to prevent pages from being swapped out ?") From: Laurent Desnogues To: Jamie Lokier Cc: Russell King - ARM Linux , Laurent Pinchart , David Xiao , Ben Dooks , Hugh Dickins , Robin Holt , "linux-kernel@vger.kernel.org" , v4l2_linux , "linux-arm-kernel@lists.arm.linux.org.uk" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 7, 2009 at 11:54 AM, Jamie Lokier wrote: > > 1. Does the architecture not prevent speculative instruction > prefetches from crossing a page boundary?  It would be handy under the > circumstances. There's no such restriction in ARMv7 architecture. Laurent