This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hi, I have a question about "MULTI_PAGE_ALIASING" in allocate_stack()


On 2015/12/17 21:38, Andreas Schwab wrote:

> Xishi Qiu <qiuxishi@huawei.com> writes:
> 
>> I don't quite understand "aliasing problems", could you explain it?
> 
> This is the first google hit:
> 
> https://software.intel.com/en-us/forums/intel-vtune-amplifier-xe/topic/311267
> 
> Andreas.
> 

Hi Andreas,

Thank you for your help. So the "aliasing problems" is L1 cache conflict, right?

I have another three questions.
1) why we use 64K, instead of 32K, 128K...?
2) why we use "size + pagesize", instead of "size + cacheline"?
3) Does other arch have this problem too? e.g. arm

Thanks
Xishi Qiu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]