Permalink
Browse files

TS-1742 just make the regression test passed if cas128 enabled

  • Loading branch information...
1 parent bd8fd4f commit ae085945184c43195d825a6be72a259b84d9df33 weijin committed Mar 21, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 iocore/eventsystem/P_UnixEventProcessor.h
View
4 iocore/eventsystem/P_UnixEventProcessor.h
@@ -44,9 +44,9 @@ thread_data_used(0)
TS_INLINE off_t
EventProcessor::allocate(int size)
{
- static off_t start = (offsetof(EThread, thread_private) + 7) & ~7;
+ static off_t start = INK_ALIGN(offsetof(EThread, thread_private), 16);
static off_t loss = start - offsetof(EThread, thread_private);
- size = (size + 7) & ~7; // 8 byte alignment
+ size = INK_ALIGN(size, 16); // 16 byte alignment
int old;
do {

0 comments on commit ae08594

Please sign in to comment.