Skip to content

Commit

Permalink
TS-1742 just make the regression test passed if cas128 enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
weijin committed Mar 21, 2013
1 parent bd8fd4f commit ae08594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iocore/eventsystem/P_UnixEventProcessor.h
Expand Up @@ -44,9 +44,9 @@ thread_data_used(0)
TS_INLINE off_t TS_INLINE off_t
EventProcessor::allocate(int size) 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); 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; int old;
do { do {
Expand Down

0 comments on commit ae08594

Please sign in to comment.