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