linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] mm/damon/vaddr: changed asm-generic/mman-common.h to linux/mman.h
       [not found] <CAE-cH4o85OkMAZ5sH0SiakQi_FqauNYcQ+KhniEd2g5e8kSF1Q@mail.gmail.com>
@ 2023-12-22  0:34 ` SeongJae Park
  0 siblings, 0 replies; 3+ messages in thread
From: SeongJae Park @ 2023-12-22  0:34 UTC (permalink / raw)
  To: Tanzir Hasan
  Cc: SeongJae Park, Andrew Morton, damon, linux-mm, linux-kernel,
	Nick Desaulniers, Al Viro

On Thu, 21 Dec 2023 16:29:57 -0800 Tanzir Hasan <tanzirh@google.com> wrote:

> Hi SeongJae,
> 
> On Thu, Dec 21, 2023 at 3:49\u202fPM SeongJae Park <sj@kernel.org> 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")
> 
> 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")
> Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
> Reviewed-by: SeongJae Park <sj@kernel.org>
> Signed-off-by: Tanzir Hasan <tanzirh@google.com>

Yes, this looks good to me :)


Thanks,
SJ

> 
> Best,
> Tanzir


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mm/damon/vaddr: changed asm-generic/mman-common.h to linux/mman.h
  2023-12-21 23:11 Tanzir Hasan
@ 2023-12-21 23:49 ` SeongJae Park
  0 siblings, 0 replies; 3+ messages in thread
From: SeongJae Park @ 2023-12-21 23:49 UTC (permalink / raw)
  To: Tanzir Hasan
  Cc: SeongJae Park, Andrew Morton, damon, linux-mm, linux-kernel,
	Nick Desaulniers, Al Viro

Hi Tanzir,


On Thu, 21 Dec 2023 23:11:01 +0000 Tanzir Hasan <tanzirh@google.com> 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.
> 
> Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
> Signed-off-by: Tanzir Hasan <tanzirh@google.com>

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.

Reviewed-by: SeongJae Park <sj@kernel.org>


Thanks,
SJ

[...]


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] mm/damon/vaddr: changed asm-generic/mman-common.h to linux/mman.h
@ 2023-12-21 23:11 Tanzir Hasan
  2023-12-21 23:49 ` SeongJae Park
  0 siblings, 1 reply; 3+ messages in thread
From: Tanzir Hasan @ 2023-12-21 23:11 UTC (permalink / raw)
  To: SeongJae Park, Andrew Morton
  Cc: damon, linux-mm, linux-kernel, Nick Desaulniers, Al Viro, Tanzir Hasan

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.

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Tanzir Hasan <tanzirh@google.com>
---
 mm/damon/vaddr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/damon/vaddr.c b/mm/damon/vaddr.c
index a4d1f63c5b23..1741e0751e01 100644
--- a/mm/damon/vaddr.c
+++ b/mm/damon/vaddr.c
@@ -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,
-- 
Tanzir Hasan <tanzirh@google.com>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-22  0:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAE-cH4o85OkMAZ5sH0SiakQi_FqauNYcQ+KhniEd2g5e8kSF1Q@mail.gmail.com>
2023-12-22  0:34 ` [PATCH] mm/damon/vaddr: changed asm-generic/mman-common.h to linux/mman.h SeongJae Park
2023-12-21 23:11 Tanzir Hasan
2023-12-21 23:49 ` SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox