Messages in this thread Patch in this message | | | Date | Sun, 2 Jun 2002 15:03:54 -0700 | From | William Lee Irwin III <> | Subject | remove antiquated comment from page_alloc.c |
| |
This comment, describing how to optimize for gcc-2.2.2, is so outdated it should be removed. It's also quite doubtful it should ever have been placed in this file at all (perhaps something under Documentation/ ?). This patch removes it.
Against 2.5.19.
Cheers, Bill
===== mm/page_alloc.c 1.65 vs edited ===== --- 1.65/mm/page_alloc.c Sun Jun 2 14:58:50 2002 +++ edited/mm/page_alloc.c Sun Jun 2 15:00:30 2002 @@ -43,18 +43,6 @@ static int zone_balance_min[MAX_NR_ZONES] __initdata = { 20 , 20, 20, }; static int zone_balance_max[MAX_NR_ZONES] __initdata = { 255 , 255, 255, }; -/* - * Free_page() adds the page to the free lists. This is optimized for - * fast normal cases (no error jumps taken normally). - * - * The way to optimize jumps for gcc-2.2.2 is to: - * - select the "normal" case and put it inside the if () { XXX } - * - no else-statements if you can avoid them - * - * With the above two rules, you get a straight-line execution path - * for the normal case, giving better asm-code. - */ - #define memlist_init(x) INIT_LIST_HEAD(x) #define memlist_add_head list_add #define memlist_add_tail list_add_tail - 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/
| |