Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For libpmem CFLAGS are set before the src/Makefile.inc is included. As far as I can tell it was unintentionally introduced by #4797. This oversight excluded libpmem from using DEFAULT_CFLAGS. Which has significant consequences on the outcome e.g. restoring the use of DEFAULT_CFLAGS reduces the maximum stack usage from 50kB to 8kB. The issue is present in releases >= 1.9. Note that non-NDCTL builds were not affected. This regression although unintentional might had a not yet known influence on the performance. Signed-off-by: Jan Michalski <jan.michalski@intel.com>
- Loading branch information