"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "stress-numa.c" between
stress-ng-0.09.50.tar.xz and stress-ng-0.09.51.tar.xz

About: stress-ng will stress test a computer system in various selectable ways. It was designed to exercise various physical subsystems of a computer as well as the various operating system kernel interfaces.

stress-numa.c  (stress-ng-0.09.50.tar.xz):stress-numa.c  (stress-ng-0.09.51.tar.xz)
skipping to change at line 27 skipping to change at line 27
* *
* This code is a complete clean re-write of the stress tool by * This code is a complete clean re-write of the stress tool by
* Colin Ian King <colin.king@canonical.com> and attempts to be * Colin Ian King <colin.king@canonical.com> and attempts to be
* backwardly compatible with the stress tool by Amos Waterland * backwardly compatible with the stress tool by Amos Waterland
* <apw@rossby.metr.ou.edu> but has more stress tests and more * <apw@rossby.metr.ou.edu> but has more stress tests and more
* functionality. * functionality.
* *
*/ */
#include "stress-ng.h" #include "stress-ng.h"
#if defined(__linux__) && \ #if defined(__NR_get_mempolicy) && \
defined(__NR_get_mempolicy) && \
defined(__NR_mbind) && \ defined(__NR_mbind) && \
defined(__NR_migrate_pages) && \ defined(__NR_migrate_pages) && \
defined(__NR_move_pages) && \ defined(__NR_move_pages) && \
defined(__NR_set_mempolicy) defined(__NR_set_mempolicy)
#define BITS_PER_BYTE (8) #define BITS_PER_BYTE (8)
#define NUMA_LONG_BITS (sizeof(unsigned long) * BITS_PER_BYTE) #define NUMA_LONG_BITS (sizeof(unsigned long) * BITS_PER_BYTE)
#define MPOL_DEFAULT (0) #define MPOL_DEFAULT (0)
#define MPOL_PREFERRED (1) #define MPOL_PREFERRED (1)
 End of changes. 1 change blocks. 
2 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)