Re: [PATCH] General purpose zeroed page slab

From: Martin K. Petersen <mkp_at_wildopensource.com>
Date: 2004-10-19 04:54:13
>>>>> "Matthew" == Matthew Wilcox <matthew@wil.cx> writes:

Matthew> It's probably worth doing this with a static cachep in slab.c
Matthew> and only exposing a get_zeroed_page() / free_zeroed_page()
Matthew> interface, with the latter doing the memset to 0.  

*nod*


Matthew> I disagree with Andi over the dumbness of zeroing the whole
Matthew> page.  That makes it cache-hot, which is what you want from a
Matthew> page you allocate from slab.

Yeah, plus the housekeeping may be more of a hassle than it's worth.

We'll see...

-- 
Martin K. Petersen	Wild Open Source, Inc.
mkp_at_wildopensource.com	http://www.wildopensource.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Oct 18 16:47:26 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:31 EST