Re: [PATCH v10 07/13] khugepaged: skip collapsing mTHP to smaller orders

Lorenzo Stoakes
2025-08-21T17:06:53Z

On Thu, Aug 21, 2025 at 12:54:45PM -0400, Steven Rostedt wrote:
> On Thu, 21 Aug 2025 13:05:42 +0100
> Lorenzo Stoakes <lorenzo.stoakes@oracle.com> wrote:
>
> > > + /*
> > > + * TODO: In some cases of partially-mapped folios, we'd actually
> > > + * want to collapse.
> > > + */
> >
> > Not a fan of adding todo's in code, they have a habit of being left forever.
>
> It's a way to make the developer more depressed by reminding them that they
> will never be able to complete their TODO list :-p
>
> Personally, I enjoy the torture of these comments in the code ;-)

Well a person must at least _somewhat_ enjoy torture if they decide to do kernel
development (let alone maintainership :P) so this very much figures ;)