Re: [PATCH] kernel.h: Skip single-eval logic on literals in min()/max()

2018-03-08 Thread Ian Campbell
On Thu, 2018-03-08 at 13:40 -0800, Kees Cook wrote: > > +#define __min(t1, t2, x, y) \ > + __builtin_choose_expr(__builtin_constant_p(x) &&\ > + __builtin_constant_p(y) &&\ > +

RE: [PATCH] xen: cleancache shim to Xen Transcendent Memory

2011-04-18 Thread Ian Campbell
On Mon, 2011-04-18 at 07:12 -0700, Dan Magenheimer wrote: From: Ian Campbell [mailto:ian.campb...@eu.citrix.com] On Thu, 2011-04-14 at 14:20 -0700, Dan Magenheimer wrote: There's no need to build this into a kernel which doesn't have cleancache (or one of the other frontends

Re: [PATCH] xen: cleancache shim to Xen Transcendent Memory

2011-04-15 Thread Ian Campbell
On Thu, 2011-04-14 at 14:20 -0700, Dan Magenheimer wrote: [PATCH] xen: cleancache shim to Xen Transcendent Memory This patch provides a shim between the kernel-internal cleancache API (see Documentation/mm/cleancache.txt) and the Xen Transcendent Memory ABI (see