Re: [PATCH] x86_64: remove unneeded round_up

From: Ingo Molnar
Date: Thu Jan 31 2008 - 17:53:52 EST



* Yinghai Lu <Yinghai.Lu@xxxxxxx> wrote:

> - if (mem != -1L) {
> - mem = round_up(mem, align);
> + if (mem != -1L)
> return __va(mem);
> - }

thanks, applied.

It even reduces the size of the kernel a tiny bit:

text data bss dec hex filename
2963 4149 4352 11464 2cc8 numa_64.o.before
2949 4149 4352 11450 2cba numa_64.o.after

and it's always a good sign to kernel quality when patches (that change
functionality) have that effect :)

Ingo
--
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/