lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190828143946.GA21342@rapoport-lnx>
Date:   Wed, 28 Aug 2019 17:39:47 +0300
From:   Mike Rapoport <rppt@...ux.ibm.com>
To:     Guo Ren <guoren@...nel.org>
Cc:     linux-csky@...r.kernel.org,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] csky: use generic free_initrd_mem()

Hi,

On Wed, Aug 28, 2019 at 10:12:52PM +0800, Guo Ren wrote:
> Acked-by: Guo Ren <guoren@...nel.org>

Do you mind taking it via csky tree?
 
> On Wed, Aug 28, 2019 at 9:35 PM Mike Rapoport <rppt@...ux.ibm.com> wrote:
> >
> > The csky implementation of free_initrd_mem() is an open-coded version of
> > free_reserved_area() without poisoning.
> >
> > Remove it and make csky use the generic version of free_initrd_mem().
> >
> > Signed-off-by: Mike Rapoport <rppt@...ux.ibm.com>
> > ---
> >  arch/csky/mm/init.c | 16 ----------------
> >  1 file changed, 16 deletions(-)
> >
> > diff --git a/arch/csky/mm/init.c b/arch/csky/mm/init.c
> > index eb0dc9e..d4c2292 100644
> > --- a/arch/csky/mm/init.c
> > +++ b/arch/csky/mm/init.c
> > @@ -60,22 +60,6 @@ void __init mem_init(void)
> >         mem_init_print_info(NULL);
> >  }
> >
> > -#ifdef CONFIG_BLK_DEV_INITRD
> > -void free_initrd_mem(unsigned long start, unsigned long end)
> > -{
> > -       if (start < end)
> > -               pr_info("Freeing initrd memory: %ldk freed\n",
> > -                       (end - start) >> 10);
> > -
> > -       for (; start < end; start += PAGE_SIZE) {
> > -               ClearPageReserved(virt_to_page(start));
> > -               init_page_count(virt_to_page(start));
> > -               free_page(start);
> > -               totalram_pages_inc();
> > -       }
> > -}
> > -#endif
> > -
> >  extern char __init_begin[], __init_end[];
> >
> >  void free_initmem(void)
> > --
> > 2.7.4
> >
> 
> 
> -- 
> Best Regards
>  Guo Ren
> 
> ML: https://lore.kernel.org/linux-csky/
> 

-- 
Sincerely yours,
Mike.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ