lkml.org 
[lkml]   [2012]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC patch 2/7] thp: introduce pmdp_invalidate()
On Sat, 25 Aug 2012 20:36:37 +0800
Hillf Danton <dhillf@gmail.com> wrote:

> On Fri, Aug 24, 2012 at 1:17 AM, Gerald Schaefer
> <gerald.schaefer@de.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.



\
 
 \ /
  Last update: 2012-08-27 13:01    [W:3.278 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site