Init task 8192 byte alignment query.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi 
I was going through arm vmlinux script file. and i found  below statements

/*
* first, the init task union, aligned
* to an 8192 byte boundary.
*/

 INIT_TASK_DATA(THREAD_SIZE)

#define INIT_TASK_DATA(align) \
. = ALIGN(align); \
*(.data..init_task)

As i know we align data structures on a n byte boundary to save access time
and for speed execution but i did not understand why do we need to align this particular data structure on a 8192 byte boundary. 

sometimes it will be on 1024 or 2048 byte boundary.

Any inputs would be appreciated!!!

Regards

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux