Messages in this thread | | | From | Souptick Joarder <> | Date | Tue, 25 Jan 2022 08:39:10 +0530 | Subject | Re: [PATCH v2] mm/damon: Remove redundant page validation |
| |
On Mon, Jan 24, 2022 at 11:50 PM David Rientjes <rientjes@google.com> wrote: > > On Mon, 17 Jan 2022, Baolin Wang wrote: > > > It will never get a NULL page by pte_page() as discussed in thread [1], > > thus remove the redundant page validation to fix below Smatch static > > checker warning. > > > > mm/damon/vaddr.c:405 damon_hugetlb_mkold() > > warn: 'page' can't be NULL. > > > > [1] https://lore.kernel.org/linux-mm/20220106091200.GA14564@kili/ > > > > Reported-by: Dan Carpenter <dan.carpenter@oracle.com> > > Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com> > > Reviewed-by: SeongJae Park <sj@kernel.org> > > Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Souptick Joarder <jrdr.linux@gmail.com>
>
| |