Re: [PATCH Linux-6.12.y 1/1] selftests/mm: build with -O2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ Sasha's backport helper bot ]

Hi,

The upstream commit SHA1 provided is correct: 46036188ea1f5266df23a6149dea0df1c77cd1c7

WARNING: Author mismatch between patch and upstream commit:
Backport author: Yifei Liu<yifei.l.liu@xxxxxxxxxx>
Commit author: Kevin Brodsky<kevin.brodsky@xxxxxxx>


Status in newer kernel trees:
6.13.y | Not found
6.12.y | Not found

Note: The patch differs from the upstream commit:
---
1:  46036188ea1f5 ! 1:  e96302cf58b1e selftests/mm: build with -O2
    @@ Metadata
      ## Commit message ##
         selftests/mm: build with -O2
     
    +    [ Upstream commit 46036188ea1f5266df23a6149dea0df1c77cd1c7 ]
    +
         The mm kselftests are currently built with no optimisation (-O0).  It's
         unclear why, and besides being obviously suboptimal, this also prevents
         the pkeys tests from working as intended.  Let's build all the tests with
    @@ Commit message
         Cc: Ryan Roberts <ryan.roberts@xxxxxxx>
         Cc: Shuah Khan <shuah@xxxxxxxxxx>
         Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
    +    (cherry picked from commit 46036188ea1f5266df23a6149dea0df1c77cd1c7)
    +    [Yifei: This commit also fix the failure of pkey_sighandler_tests_64,
    +    which is also in linux-6.12.y, thus backport this commit]
    +    Signed-off-by: Yifei Liu <yifei.l.liu@xxxxxxxxxx>
     
      ## tools/testing/selftests/mm/Makefile ##
     @@ tools/testing/selftests/mm/Makefile: endif
    @@ tools/testing/selftests/mm/Makefile: endif
     +# warnings.
     +CFLAGS += -U_FORTIFY_SOURCE
     +
    - KDIR ?= /lib/modules/$(shell uname -r)/build
    - ifneq (,$(wildcard $(KDIR)/Module.symvers))
    - ifneq (,$(wildcard $(KDIR)/include/linux/page_frag_cache.h))
    + TEST_GEN_FILES = cow
    + TEST_GEN_FILES += compaction_test
    + TEST_GEN_FILES += gup_longterm
---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.12.y       |  Success    |  Success   |




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux