>>>>> "Jeff" == Jeff Garzik <jgarzik@mandrakesoft.com> writes:
Jeff> I proposed something along these lines several months ago, poke
Jeff> around for the thread. While I agree with the patch, because it
Jeff> will save me a few lines of code here and there, an idea that
Jeff> came out of the previous discussion is also worth considering --
Jeff> zeroing pages during system idle time, and then handing those
Jeff> out from kzalloc() (or kmalloc(GFP_ZERO|GFP_xxx) or whatever)
Another thing I forgot to bring up earlier in the dicussion, most of
the places doing kmalloc();memset(); are in initialization parts of
the code, ie. they will be marked __init, so the optimization is a
no-win, the only thing you save is to write one line less of code.
Jes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:11 EST