Re: [RFC PATCH 03/57] mm/collapse: add collapse.h for the shared collapse state

From
David Hildenbrand (Arm) <david@kernel.org>
Date
2026-08-24 12:28:51
Also in
bpf, linux-kselftest, linux-mm, lkml
Reply to
Kiryl Shutsemau, 2026-08-24
On 8/24/26 14:10, Kiryl Shutsemau wrote:
On Mon, Aug 24, 2026 at 01:47:54PM +0200, David Hildenbrand (Arm) wrote:
quoted
On 8/20/26 13:11, Kiryl Shutsemau wrote:
quoted
I went for a clean collapse.c on purpose: the engine is new code, and a
new file keeps it readable while both mechanisms are in the tree, with 28
as a plain delete from khugepaged.c.

Your shape is less churn, though, and it keeps blame: 29-35 move about
1700 lines as add-and-delete today, and most of that would stay put, with
only the daemon -- mm_slot, the scan loop, sysfs -- extracted into a new
khugepaged.c.

If you prefer it that way, I can give it a try for v2.

The rename has to open the series, so it will collide with anything in
flight that touches khugepaged.c.
Kiryl, I have to ask, are you using AI to write your replies?
Yes. I use it check my claims and fix my grammar.

Why?
It doesn't read the way you would usually write. In a bad way.

E.g., "Your shape", "has to open the series"

Consider telling the LLM to not change your writing style and focus only on
fixing grammar.

Otherwise it will be very load bearing to read and we'll be sorry to have to
gently push back against that.


Imagine I would instead have written the following:

The text does not read the way you would normally write, and the difference is
noticeable in a way that makes it feel less natural.

For example, phrases such as “Your shape” and “has to open the series” do not
sound consistent with your usual writing style.

It may be worth instructing the LLM to preserve your original tone and phrasing
as much as possible, and to focus only on correcting grammar and obvious
language issues.

-- 
Cheers,

David
Thread (119 messages) 119 messages, 9 authors, last reply 2026-09-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help