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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250911091726.1774681-1-alexjlzheng@tencent.com>
Date: Thu, 11 Sep 2025 17:17:26 +0800
From: Jinliang Zheng <alexjlzheng@...il.com>
To: hch@...radead.org
Cc: alexjlzheng@...il.com,
	alexjlzheng@...cent.com,
	brauner@...nel.org,
	djwong@...nel.org,
	linux-fsdevel@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	linux-xfs@...r.kernel.org,
	yi.zhang@...wei.com
Subject: Re: [PATCH v3 0/4] allow partial folio write with iomap_folio_state

On Tue, 26 Aug 2025 06:20:13 -0700, Christoph Hellwig wrote:
> On Mon, Aug 26, 2025 at 07:39:21PM +0800, Jinliang Zheng wrote:
> > Actually, I discovered this while reading (and studying) the code for large
> > folios.
> > 
> > Given that short-writes are inherently unusual, I don't think this patchset
> > will significantly improve performance in hot paths. It might help in scenarios
> > with frequent memory hardware errors, but unfortunately, I haven't built a
> > test scenario like that.
> > 
> > I'm posting this patchset just because I think we can do better in exception
> > handling: if we can reduce unnecessary copying, why not?
> 
> I'm always interested in the motivation, especially for something
> adding more code or doing large changes.  If it actually improves
> performance it's much easier to argue for.  If it doesn't that doesn't
> mean the patch is bad, but it needs to have other upsides.  I'll take
> another close look, but please also add your motivation to the cover
> letter and commit log for the next round.

Okay, I'll try my best to clarify the motivation in my future patches.

Also, have you found any issues with this patchset in the past two weeks? If so,
please let me know. And I'd be happy to improve it.

Alternatively, would you mind accepting this patchset? :)

thanks,
Jinliang Zheng. ;)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ