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-next>] [day] [month] [year] [list]
Message-ID: <Y/xyFjdgpYP5rm3z@kernel.org>
Date:   Mon, 27 Feb 2023 11:04:22 +0200
From:   Mike Rapoport <rppt@...nel.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     Andrew Morton <akpm@...ux-foundation.org>,
        Mike Rapoport <rppt@...nel.org>,
        Peng Zhang <zhangpeng.00@...edance.com>, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org
Subject: [GIT PULL] memblock: small optimizations

Hi Linus,

The following changes since commit 6d796c50f84ca79f1722bb131799e5a5710c4700:

  Linux 6.2-rc6 (2023-01-29 13:59:43 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v6.3-rc1

for you to fetch changes up to 2fe03412e2e1be3d5ab37b8351a37c3aec506556:

  memblock: Avoid useless checks in memblock_merge_regions(). (2023-01-31 15:51:56 +0200)

----------------------------------------------------------------
memblock: small optimizations

* fix off-by-one in the check whether memblock_add_range() should
  reallocate memory to accommodate newly inserted range
* check only for relevant regions in memblock_merge_regions() rather than
  swipe over the entire array

----------------------------------------------------------------
Peng Zhang (2):
      memblock: Make a boundary tighter in memblock_add_range().
      memblock: Avoid useless checks in memblock_merge_regions().

 mm/memblock.c | 41 +++++++++++++++++++++++++++--------------
 1 file changed, 27 insertions(+), 14 deletions(-)

-- 
Sincerely yours,
Mike.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ