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]
Date:   Thu, 10 Oct 2019 07:29:36 -0700
From:   Dave Hansen <dave.hansen@...el.com>
To:     lantianyu1986@...il.com, dan.j.williams@...el.com,
        dave.hansen@...ux.intel.com, mingo@...nel.org, mpe@...erman.id.au,
        pasha.tatashin@...een.com, osalvador@...e.de,
        richardw.yang@...ux.intel.com, Tianyu.Lan@...rosoft.com,
        christophe.leroy@....fr, bp@...e.de, rdunlap@...radead.org,
        michael.h.kelley@...rosoft.com, kys@...rosoft.com,
        sashal@...nel.org
Cc:     linux-kernel@...r.kernel.org, vkuznets@...hat.com,
        linux-hyperv@...r.kernel.org
Subject: Re: [PATCH] mm/resource: Move child to new resource when release mem
 region.

On 10/10/19 12:28 AM, lantianyu1986@...il.com wrote:
> When release mem region, old mem region may be splited to
> two regions. Current allocate new struct resource for high
> end mem region but not move child resources whose ranges are
> in the high end range to new resource. When adjust old mem
> region's range, adjust_resource() detects child region's range
> is out of new range and return error. Move child resources to
> high end resource before adjusting old mem range.

>From the comment, it appears the old code intended to have the behavior
that you are changing.  Could you explain _why_ this has become a
problem for you?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ