On Sat, 9 Nov 2024 22:20:01 -0800 Andrew Morton <a...@linux-foundation.org> 
wrote:

> On Fri, 8 Nov 2024 19:13:04 +0500 Muhammad Usama Anjum 
> <usama.an...@collabora.com> wrote:
> 
> > On 11/8/24 3:49 PM, Donet Tom wrote:
> > 
> > > I think below changes are required.
> > > 
> > > iff --git a/tools/testing/selftests/mm/hugetlb_dio.c 
> > > b/tools/testing/selftests/mm/hugetlb_dio.c
> > > index 60001c142ce9..4b52106b8124 100644
> > > --- a/tools/testing/selftests/mm/hugetlb_dio.c
> > > +++ b/tools/testing/selftests/mm/hugetlb_dio.c
> > > @@ -44,6 +44,9 @@ void run_dio_using_hugetlb(unsigned int start_off, 
> > > unsigned int end_off)
> > >         if (fd < 0)
> > >                 ksft_exit_fail_perror("Error opening file\n");
> > >  
> > > +       /* Get the free huge pages before allocation */
> > > +       free_hpage_b = get_free_hugepages();
> > > +
> > >         /* Allocate a hugetlb page */
> > > 
> > >         orig_buffer = mmap(NULL, h_pagesize, mmap_prot, mmap_flags, -1, 
> > > 0);
> > > 
> > >         if (orig_buffer == MAP_FAILED) {
> > Please can you send a fixup patch as you have working test setup?
> > Otherwise I'll take it up and try to test on working setup before
> > posting the fixup patch. Please let me know.
> 
> I've removed this patch from mm-hotfixes-stable.

I changed my mind.  Please send any fixup against the previous patch.

Reply via email to