Init task 8192 byte alignment query.
techlearn2526 at gmail.com
Thu Jun 30 01:53:15 EDT 2016
Because L1 cache is 8k deep.
On Wed, Jun 29, 2016 at 10:31 PM, Shiva Shankar <klshiva4a4 at gmail.com>
> I was going through arm vmlinux script file. and i found below statements
> * first, the init task union, aligned
> * to an 8192 byte boundary.
> #define INIT_TASK_DATA(align) \
> . = ALIGN(align); \
> 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!!!
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernelnewbies