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: <xr93ecxlsauy.fsf@gthelen-cloudtop.c.googlers.com>
Date: Mon, 21 Apr 2025 10:06:13 -0700
From: Greg Thelen <gthelen@...gle.com>
To: Shakeel Butt <shakeel.butt@...ux.dev>, Tejun Heo <tj@...nel.org>
Cc: Roman Gushchin <roman.gushchin@...ux.dev>, Andrew Morton <akpm@...ux-foundation.org>, 
	Johannes Weiner <hannes@...xchg.org>, Michal Hocko <mhocko@...nel.org>, 
	Muchun Song <muchun.song@...ux.dev>, Yosry Ahmed <yosry.ahmed@...ux.dev>, 
	"Michal Koutný" <mkoutny@...e.com>, linux-mm@...ck.org, cgroups@...r.kernel.org, 
	linux-kernel@...r.kernel.org, Meta kernel team <kernel-team@...a.com>
Subject: Re: [PATCH] memcg: introduce non-blocking limit setting interfaces

Shakeel Butt <shakeel.butt@...ux.dev> wrote:

> On Fri, Apr 18, 2025 at 05:15:38PM -1000, Tejun Heo wrote:
>> On Fri, Apr 18, 2025 at 04:08:42PM -0700, Shakeel Butt wrote:
>> > Any reasons to prefer one over the other? To me having separate
>> > files/interfaces seem more clean and are more script friendly. Also
>> > let's see what others have to say or prefer.

>> I kinda like O_NONBLOCK. The subtlety level of the interface seems to  
>> match
>> that of the implemented behavior.


> Ok, it seems like more people prefer O_NONBLOCK, so be it. I will send
> v2 soon.

> Also I would request to backport to stable kernels. Let me know if
> anyone have concerns.

I don't feel strongly, but I thought LTS was generally intended for bug
fixes. So I assume that this new O_NONBLOCK support would not be LTS
worthy.

> I asked AI how to do the nonblock write in a script and got following:

> $ echo 10G | dd of=memory.max oflag=nonblock

> Shakeel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ