[ Sorry, on mobile right now, so HTML crud ]
On Thu, Aug 22, 2024, 17:59 Michal Hocko <mhocko@xxxxxxxx> wrote:
> And make it clear that it will return NULL if somebody misuses it.
What do you expect users do with the return value then?
NOT. YOUR. PROBLEM.
It's the problem of the caller.
What's so hard to understand about that? The MM layer has enough problems on it's own, it doesn't need to take on the problems of others.
Linus