Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760055AbZJHWd3 (ORCPT ); Thu, 8 Oct 2009 18:33:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757603AbZJHWd1 (ORCPT ); Thu, 8 Oct 2009 18:33:27 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:41152 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757447AbZJHWd0 (ORCPT ); Thu, 8 Oct 2009 18:33:26 -0400 Subject: Re: [RFC][PATCH] kmap_atomic_push From: Peter Zijlstra To: jim owens Cc: Hugh Dickins , Linus Torvalds , Ingo Molnar , Avi Kivity , Andrew Morton , David Howells , lkml , linux-arch In-Reply-To: <4ACE674E.30403@hp.com> References: <1255016123.17055.17.camel@laptop> <20091008155344.GA11727@elte.hu> <1255019362.26976.311.camel@twins> <4ACE674E.30403@hp.com> Content-Type: text/plain Date: Fri, 09 Oct 2009 00:32:30 +0200 Message-Id: <1255041150.17055.24.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 556 Lines: 21 On Thu, 2009-10-08 at 18:27 -0400, jim owens wrote: > So if I understand this correctly, the sequence: > > in = kmap_atomic(inpage, KM_USER1); > > out = kmap_atomic(outpage, KM_USER0); > > kunmap_atomic(in, KM_USER1); > > in = kmap_atomic(next_inpage, KM_USER1); > > is now illegal with this patch Yep. -- 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/