Thread (3 messages) 3 messages, 3 authors, 2020-09-04

Re: [PATCH v9 3/3] mm/madvise: introduce process_madvise() syscall: an external memory hinting API

From: Florian Weimer <hidden>
Date: 2020-09-03 17:35:16
Also in: linux-man, linux-mm, lkml

Possibly related (same subject, not in this thread)

* Minchan Kim:
On Tue, Sep 01, 2020 at 08:46:02PM +0200, Florian Weimer wrote:
quoted
* Minchan Kim:
quoted
      ssize_t process_madvise(int pidfd, const struct iovec *iovec,
                unsigned long vlen, int advice, unsigned int flags);
size_t for vlen provides a clearer hint regarding the type of special
treatment needed for ILP32 here (zero extension, not changing the type
to long long).
All existing system calls using iove in Linux uses unsigned long so
I want to be consistent with them unless process_madvise need something
speicial.
Userspace uses int, following POSIX (where applicable).  There is no
consistency to be had here.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help