[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120827122742.1281aba4@thinkpad>
Date: Mon, 27 Aug 2012 12:27:42 +0200
From: Gerald Schaefer <gerald.schaefer@...ibm.com>
To: Hillf Danton <dhillf@...il.com>
Cc: akpm@...ux-foundation.org, aarcange@...hat.com, linux-mm@...ck.org,
ak@...ux.intel.com, hughd@...gle.com, linux-kernel@...r.kernel.org,
schwidefsky@...ibm.com, heiko.carstens@...ibm.com
Subject: Re: [RFC patch 2/7] thp: introduce pmdp_invalidate()
On Sat, 25 Aug 2012 20:36:37 +0800
Hillf Danton <dhillf@...il.com> wrote:
> On Fri, Aug 24, 2012 at 1:17 AM, Gerald Schaefer
> <gerald.schaefer@...ibm.com> wrote:
>
> > +#ifndef __HAVE_ARCH_PMDP_INVALIDATE
> > +#ifdef CONFIG_TRANSPARENT_HUGEPAGE
> > +static inline void pmdp_invalidate(struct vm_area_struct *vma,
> > + unsigned long address, pmd_t *pmdp)
> > +{
> > + set_pmd_at(vma->vm_mm, address, pmd, pmd_mknotpresent(*pmd));
>
> set_pmd_at(vma->vm_mm, address, pmdp, pmd_mknotpresent(*pmdp)); yes?
Ah yes, I mixed that up, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists