You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/01/13 02:39:32 UTC

[GitHub] [trafficserver] wangrong1069 commented on pull request #8601: fix trafficserver segmentation fault on arm64

wangrong1069 commented on pull request #8601:
URL: https://github.com/apache/trafficserver/pull/8601#issuecomment-1011704117


   Yes, you are right.
   Unused bits, depending on the page size. For simplicity and generality, we can choose 12.
   How about the following modifications.
   
   #elif defined(__aarch64__)
   #define FREELIST_POINTER(_x) ((void *)((((intptr_t)(_x).data) & 0x000FFFFFFFFFFFFFULL)))
   #define FREELIST_VERSION(_x) (((intptr_t)(_x).data) >> 52)
   #define SET_FREELIST_POINTER_VERSION(_x, _p, _v) (_x).data = (((intptr_t)(_p)) | (((_v)&0xFFFULL) << 52))


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org