|
Re: [PATCH 1/2] alpha: use .data.init_task instead of .data.init_thread.: msg#12067linux-kernel
On 07/31/2009 03:02 PM, Tim Abbott wrote: The INIT_TASK_DATA(THREAD_SIZE) macro call aligns to THREAD_SIZE (= Sure.
While it's technically unnecessary, it's also very much desired. Think about it. Suppose we have 9 pages of init, followed by the two-page-aligned INIT_TASK_DATA. So we get a page worth of padding added. It's better to have the two-page-alignment within the init section so as to get 10 pages of init followed by no padding. In this way the page of padding gets freed with the rest of init. Are you following me at all here? r~ -- 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/
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |