/proc/config reducing kernel image size

From: Tom Fredrik Blenning Klaussen (bfg-kernel_at_blenning.no)
Date: 09/14/04

  • Next message: Richard B. Johnson: "Re: Kernel semaphores"
    To: linux-kernel@vger.kernel.org
    Date:	Tue, 14 Sep 2004 18:33:26 +0200
    
    
    

    I've written a small patch that reduces the size of /proc/config.

    There is no point in storing all the comments and unused options in the
    kernel image. This typically reduces the config size to about 1/5th
    before compressing, and to about 1/4th after compressing.

    I've also added the configuration option of how you want to compress it.

    In order to do the comment stripping I was forced to add a small script
    to the scripts, section, this has to be made executable. However if it
    is possible, the script should be skipped altogether, but I can't figure
    out how to do the proper escaping of the special characters in the
    kernel/Makefile. So if anyone could help me with that, I would be
    grateful.

    I'm interessted in comments on the concept.

    Sincerely

    -- 
    BFG
    
    

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/



  • Next message: Richard B. Johnson: "Re: Kernel semaphores"