Skip to contentSkip to conversation

memory page_alloc zonelist caching speedup aligncache revert

PATCH New Paul Jackson 1 participant 1 message Oct 19, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 memory page_alloc zonelist caching speedup aligncache revert

Revert the patch:
memory page_alloc zonelist caching speedup aligncache

Thanks to a suggestion by Rohit Seth, there's a better way to do this, just by reordering some struct members.

---

Andrew - I'm guessing that you will squash this patch together
with the patch it reverts:
memory page_alloc zonelist caching speedup aligncache
and then throw the resulting empty patch out.

Or just throw the reverted patch out. Whatever.

-pj

 include/linux/mmzone.h |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)
include/linux/mmzone.h +1 -2
@@ -396,8 +396,7 @@ struct zonelist {
 	struct zonelist_cache *zlcache_ptr;		     // NULL or &zlcache
 	struct zone *zones[MAX_ZONES_PER_ZONELIST + 1];      // NULL delimited
 #ifdef CONFIG_NUMA
-	/* Keep written zonelist_cache off read-only zones[] cache lines */
-	struct zonelist_cache zlcache ____cacheline_aligned; // optional ...
+	struct zonelist_cache zlcache;			     // optional ...
 #endif
 };
 
Signature · 9 lines
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <[email protected]> 1.925.600.0401

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>