Thread (4 messages) 4 messages, 3 authors, 2021-11-22

Re: [PATCH] mmap.2: ENOMEM possible when exceeding VA space

flat view

From: Alejandro Colomar (man-pages) <hidden>
Date: 2021-11-22 17:17:00

Hi Jakub,

On 11/22/21 17:15, Jakub Wilk wrote:
* Topi Miettinen [off-list ref], 2021-11-11, 20:04:
quoted
+.B ENOMEM
+We don't like
+.IR addr ,
+because it exceeds the virtual address space of the CPU.
+.TP
Who is "we"?
I was going to ask the same, but that page already describes other errors like that.  If only for consistency, and avoiding a complete rewrite of that ERRORS section, I applied the patch as is.

But yes, "we" doesn't sound like very technical.  Maybe we should fix this.
FWIW, failing with ENOMEM in this case may seem weird, but this is what POSIX prescribes.
Thanks,
Alex


-- 
Alejandro Colomar
Linux man-pages comaintainer; http://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help