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: <20240125034922.1004671-1-yajun.deng@linux.dev>
Date: Thu, 25 Jan 2024 11:49:20 +0800
From: Yajun Deng <yajun.deng@...ux.dev>
To: akpm@...ux-foundation.org
Cc: Liam.Howlett@...cle.com,
	lstoakes@...il.com,
	viro@...iv.linux.org.uk,
	brauner@...nel.org,
	vbabka@...e.cz,
	willy@...radead.org,
	surenb@...gle.com,
	linux-mm@...ck.org,
	linux-kernel@...r.kernel.org,
	Yajun Deng <yajun.deng@...ux.dev>
Subject: [PATCH v2 0/2] mm/mmap: simplify vma_merge()

The vma_merge() has too many parameters, we can pass vma to vma_merge(),
so that it can save two parameters.
Since the src vma was passed, find_vma_intersection() can be removed.

v2: split it into two patches.
v1: https://lore.kernel.org/all/20240118082312.2801992-1-yajun.deng@linux.dev/

Yajun Deng (2):
  mm/mmap: pass vma to vma_merge()
  mm/mmap: remove find_vma_intersection() in vma_merge()

 mm/mmap.c | 42 ++++++++++++++++++++++--------------------
 1 file changed, 22 insertions(+), 20 deletions(-)

-- 
2.25.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ