Merge branch 'lg_page_4k_64k' into f27
This commit is contained in:
commit
e2240220f0
@ -49,6 +49,14 @@ CFLAGS="%{optflags} -msse2"
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%ifarch %ix86 %arm x86_64 s390x aarch64
|
||||
%define lg_page --with-lg-page=12
|
||||
%endif
|
||||
|
||||
%ifarch ppc64 ppc64le
|
||||
%define lg_page --with-lg-page=16
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} && 0%{?rhel} < 7
|
||||
export LDFLAGS="%{?__global_ldflags} -lrt"
|
||||
%endif
|
||||
@ -65,7 +73,7 @@ cat /sys/kernel/mm/transparent_hugepage/enabled || true
|
||||
echo "What kernel version and config is this?"
|
||||
uname -a
|
||||
|
||||
%configure %{?disable_thp}
|
||||
%configure %{?disable_thp} %{?lg_page}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
@ -107,6 +115,9 @@ rm -rf %{buildroot}
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
* Wed Mar 07 2018 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.5.0-2
|
||||
- Hard code pagesize for different arches, closes bz #1545539
|
||||
|
||||
* Wed Aug 16 2017 Ingvar Hagelund <ingvar@redpill-linpro.com> - 4.5.0-4
|
||||
- Rather use ifarch than checking builder kernel for thp support
|
||||
- Cleanup; removed unnecessary patch for atomic ops on arm, pulled el5 support,
|
||||
|
Loading…
Reference in New Issue
Block a user