Re: [PATCH] General purpose zeroed page slab

From: Martin K. Petersen
Date: Mon Oct 18 2004 - 15:40:13 EST


>>>>> "Matthew" == Matthew Wilcox <matthew@xxxxxx> 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@xxxxxxxxxxxxxxxxxx http://www.wildopensource.com/
-
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/