Skip to contentSkip to conversation

mm/damon/vaddr: changed asm-generic/mman-common.h to linux/mman.h

PATCH Applied Tanzir Hasan 2 participants 4 messages Dec 21, 2023 – Dec 22, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm/damon/vaddr: changed asm-generic/mman-common.h to linux/mman.h

asm-generic/mman-common.h can be replaced by linux/mman.h and the file will still build correctly. It is an asm-generic file which should be avoided if possible.

---
 mm/damon/vaddr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/damon/vaddr.c +1 -1
index a4d1f63c5b23..1741e0751e01 100644
@@ -7,9 +7,9 @@
 
 #define pr_fmt(fmt) "damon-va: " fmt
 
-#include <asm-generic/mman-common.h>
 #include <linux/highmem.h>
 #include <linux/hugetlb.h>
+#include <linux/mman.h>
 #include <linux/mmu_notifier.h>
 #include <linux/page_idle.h>
 #include <linux/pagewalk.h>

---
base-commit: 9a6b294ab496650e9f270123730df37030911b55
change-id: 20231221-asmgenericvaddr-1d5c4cd128e3

Best regards,

Signature · 1 line
Tanzir Hasan <[email protected]>
maintainer Reviewed-by on v1 1/1
#1 lore raw

Hi Tanzir,

Quoted 6 lines · On Thu, 21 Dec 2023 23:11:01 +0000 Tanzir Hasan <[email protected]> wrote:

asm-generic/mman-common.h can be replaced by linux/mman.h and the file will still build correctly. It is an asm-generic file which should be avoided if possible.

Thank you for this patch :)

Maybe we could add below Fixes: line? I guess stable@ is intentionally not added and that makes sense, but please let me know if you think differently.

Fixes 6dea8add4d28 ("mm/damon/vaddr: support DAMON-based Operation Schemes")

Other than that, looks good to me.

Thanks,
SJ

[...]

author Reviewed-by SeongJae Park
#2 lore raw

Hi SeongJae,

Quoted 5 lines · SeongJae Park

Maybe we could add below Fixes: line? I guess stable@ is intentionally not added and that makes sense, but please let me know if you think differently.

Fixes 6dea8add4d28 ("mm/damon/vaddr: support DAMON-based Operation Schemes")

Yes, that makes sense. Just confirming that I understand, would you like it to look like this:

Fixes 6dea8add4d28 ("mm/damon/vaddr: support DAMON-based Operation Schemes")

Best,
Tanzir

maintainer
#3 lore raw
Quoted 9 lines · On Thu, 21 Dec 2023 16:29:57 -0800 Tanzir Hasan <[email protected]> wrote:

Hi SeongJae,

Quoted 5 lines · On Thu, Dec 21, 2023 at 3:49\u202fPM SeongJae Park <[email protected]> wrote:

Maybe we could add below Fixes: line? I guess stable@ is intentionally not added and that makes sense, but please let me know if you think differently.

Fixes 6dea8add4d28 ("mm/damon/vaddr: support DAMON-based Operation Schemes")
Quoted 7 lines

Yes, that makes sense. Just confirming that I understand, would you like it to look like this:

Fixes 6dea8add4d28 ("mm/damon/vaddr: support DAMON-based Operation Schemes")

Yes, this looks good to me :)

Thanks,
SJ

Quoted 3 lines

Best,
Tanzir