On 11. Aug 2025, at 10:26, David Hildenbrand wrote:
On 11.08.25 02:15, Matthew Wilcox wrote:
On Sun, Aug 10, 2025 at 11:47:45PM +0200, Thorsten Blum wrote:
Use max() to simplify hugetlb_vmemmap_optimizable_size() and improve itsThat ... isn't clearer.
readability.
No, it isn't.
I guess it's personal preference. I'd prefer max(0, x) over a ternary
operator any time.