[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4BFED954.8060807@cray.com>
Date: Thu, 27 May 2010 13:43:00 -0700
From: Doug Doan <dougd@...y.com>
To: linux-mm@...ck.org
CC: linux-kernel@...r.kernel.org, andi@...stfloor.org,
lee.schermerhorn@...com, rientjes@...gle.com, mel@....ul.ie,
akpm@...ux-foundation.org
Subject: [PATCH] hugetlb: call mmu notifiers on hugepage cow
From: Doug Doan <dougd@...y.com>
When a copy-on-write occurs, we take one of two paths in handle_mm_fault:
through handle_pte_fault for normal pages, or through hugetlb_fault for huge pages.
In the normal page case, we eventually get to do_wp_page and call mmu notifiers
via ptep_clear_flush_notify. There is no callout to the mmmu notifiers in the
huge page case. This patch fixes that.
Signed-off-by: Doug Doan <dougd@...y.com>
---
View attachment "patch" of type "text/plain" (802 bytes)
Powered by blists - more mailing lists