Re: [PATCH -mm] clean up duplicated alloc/free_thread_info

From: FUJITA Tomonori
Date: Tue Jun 03 2008 - 18:59:49 EST


On Tue, 03 Jun 2008 10:14:50 +0100
David Howells <dhowells@xxxxxxxxxx> wrote:

> FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> wrote:
>
> > - frv, m32r, mips, mn10300, and sh uses kmalloc/kfree instead of
> > __get_free_pages/free_pages. I let them alone but it could remove more
> > code if __get_free_pages/free_pages works for them.
>
> On FRV, PAGE_SIZE is 16Kb, THREAD_SIZE is half that.

Thanks,

>From a quick look, seems that on m32r, mips, mn10300, and sh,
THREAD_SIZE is a multiple of PAGE_SIZE.
--
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/