From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754160AbbFJIRL (ORCPT ); Wed, 10 Jun 2015 04:17:11 -0400 Received: from cantor2.suse.de ([195.135.220.15]:59000 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751401AbbFJIRH (ORCPT ); Wed, 10 Jun 2015 04:17:07 -0400 Date: Wed, 10 Jun 2015 09:17:03 +0100 From: Mel Gorman To: Ingo Molnar Cc: Andrew Morton , Rik van Riel , Hugh Dickins , Minchan Kim , Dave Hansen , Andi Kleen , H Peter Anvin , Linus Torvalds , Thomas Gleixner , Peter Zijlstra , Linux-MM , LKML Subject: Re: [PATCH 3/4] mm: Defer flush of writable TLB entries Message-ID: <20150610081703.GZ26425@suse.de> References: <1433871118-15207-1-git-send-email-mgorman@suse.de> <1433871118-15207-4-git-send-email-mgorman@suse.de> <20150610075033.GB18049@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20150610075033.GB18049@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 10, 2015 at 09:50:34AM +0200, Ingo Molnar wrote: > > * Mel Gorman wrote: > > > + > > + /* > > + * If the PTE was dirty then it's best to assume it's writable. The > > + * caller must use try_to_unmap_flush_dirty() or try_to_unmap_flush() > > + * before the page any IO is initiated. > > + */ > > Speling nit: "before the page any IO is initiated" does not parse for me. > > > + /* > > + * Page is dirty. Flush the TLB if a writable entry > > + * potentially exists to avoid CPU writes after IO > > + * starts and then write it out here > > + */ > > s/here/here. > > or: > > s/here/here: > Both fixed, thanks. -- Mel Gorman SUSE Labs