From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx143.postini.com [74.125.245.143]) by kanga.kvack.org (Postfix) with SMTP id 405FE6B005D for ; Thu, 16 Aug 2012 12:10:07 -0400 (EDT) Date: Thu, 16 Aug 2012 17:09:54 +0100 From: Will Deacon Subject: Re: [PATCH] mm: hugetlb: flush dcache before returning zeroed huge page to userspace Message-ID: <20120816160954.GA4330@mudshark.cambridge.arm.com> References: <20120709141324.GK7315@mudshark.cambridge.arm.com> <20120710094513.GB9108@mudshark.cambridge.arm.com> <20120710104234.GI9108@mudshark.cambridge.arm.com> <20120711174802.GG13498@mudshark.cambridge.arm.com> <20120712111659.GF21013@tiehlicka.suse.cz> <20120712112645.GG2816@mudshark.cambridge.arm.com> <20120712115708.GG21013@tiehlicka.suse.cz> <20120807160337.GC16877@mudshark.cambridge.arm.com> <20120808162607.GA7885@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120808162607.GA7885@dhcp22.suse.cz> Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Hugh Dickins , Andrew Morton , Hillf Danton , Russell King , "linux-arch@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" On Wed, Aug 08, 2012 at 05:26:07PM +0100, Michal Hocko wrote: > I guess the cleanest way is to hook into dequeue_huge_page_node and add > something like arch_clear_hugepage_flags. I hooked into enqueue_huge_page instead, but how about something like this?: Will --- >8