Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

KeGetRecommendedSharedDataAlignment routine

The KeGetRecommendedSharedDataAlignment routine returns the preferred alignment for memory structures that can be accessed by more than one processor.

Syntax


ULONG KeGetRecommendedSharedDataAlignment(void);

Parameters

This routine has no parameters.

Return value

KeGetRecommendedSharedDataAlignment returns the preferred alignment, in bytes, for memory structures that can be shared by more than one processor.

Remarks

Use KeGetRecommendedSharedDataAlignment to determine the best alignment for data structures that will be shared between processors. The value returned minimizes cache effects that negatively impact performance on multiprocessor systems.

Requirements

Version

Available in Windows XP and later versions of Windows.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

Any level

 

 

Send comments about this topic to Microsoft

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.