[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141023.235511.1672975903756808524.davem@davemloft.net>
Date: Thu, 23 Oct 2014 23:55:11 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: benh@...nel.crashing.org
Cc: akpm@...ux-foundation.org, aneesh.kumar@...ux.vnet.ibm.com,
steve.capper@...aro.org, aarcange@...hat.com, mpe@...erman.id.au,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, linux-arch@...r.kernel.org,
hannes@...xchg.org
Subject: Re: [PATCH V2 1/2] mm: Update generic gup implementation to handle
hugepage directory
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
Date: Fri, 24 Oct 2014 10:40:35 +1100
> Another option would be to make the generic code use something defined
> by the arch to decide whether to use speculative get or
> not. I like the idea of keeping the bulk of that code generic...
Me too. We could have inlines that do either speculative or
non-speculative gets on the pages in some header file and hide
the ifdefs in there.
--
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