Re: [PATCH] NUMA API for Linux 5/ Add VMA hooks for policy

From: Paul Jackson
Date: Wed May 05 2004 - 11:50:32 EST


> Perhaps you missed a patch? (several of the patches depended on each other)

No - perhaps Christoph Hellwig removed the include.

See the patch small-numa-api-fixups.patch in 2.6.6-rc3-mm2:

========================= snip =========================
From: Christoph Hellwig <hch@xxxxxx>

- don't include mempolicy.h in sched.h and mm.h when a forward delcaration
is enough. Andi argued against that in the past, but I'd really hate to add
another header to two of the includes used in basically every driver when we
can include it in the six files actually needing it instead (that number is
for my ppc32 system, maybe other arches need more include in their
directories)

- make numa api fields in tast_struct conditional on CONFIG_NUMA, this gives
us a few ugly ifdefs but avoids wasting memory on non-NUMA systems.

... details omitted ...
========================= snip =========================

Christoph did add the needed #include's of mempolicy.h in the
generic files that needed it, but not in the ia64 files, more
or less.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/