Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1222063 > unrolled thread

Re: [PATCH v2] mlock.2: mlock2.2: Add entry to for new mlock2 syscall

Started byVlastimil Babka <vbabka@suse.cz>
First post2015-09-10 11:40 +0200
Last post2015-09-11 17:20 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2] mlock.2: mlock2.2: Add entry to for new mlock2 syscall Vlastimil Babka <vbabka@suse.cz> - 2015-09-10 11:40 +0200
    Re: [PATCH v2] mlock.2: mlock2.2: Add entry to for new mlock2 syscall Eric B Munson <emunson@akamai.com> - 2015-09-11 17:00 +0200
      Re: [PATCH v2] mlock.2: mlock2.2: Add entry to for new mlock2 syscall Michal Hocko <mhocko@kernel.org> - 2015-09-11 17:20 +0200

#1222063 — Re: [PATCH v2] mlock.2: mlock2.2: Add entry to for new mlock2 syscall

FromVlastimil Babka <vbabka@suse.cz>
Date2015-09-10 11:40 +0200
SubjectRe: [PATCH v2] mlock.2: mlock2.2: Add entry to for new mlock2 syscall
Message-ID<q76uK-5UH-23@gated-at.bofh.it>
On 08/31/2015 04:20 PM, Eric B Munson wrote:
> Update the mlock.2 man page with information on mlock2() and the new
> mlockall() flag MCL_ONFAULT.
> 
> Signed-off-by: Eric B Munson <emunson@akamai.com>
> Acked-by: Michal Hocko <mhocko@suse.com>

Looks like I acked v1 too late and not v2, so:

Acked-by: Vlastimil Babka <vbabka@suse.cz>

However, looks like it won't be in Linux 4.3 so that part is outdated.
Also, what about glibc wrapper for mlock2()? Does it have to come before or
after the manpage and who gets it in?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1222895

FromEric B Munson <emunson@akamai.com>
Date2015-09-11 17:00 +0200
Message-ID<q7xXY-4O5-9@gated-at.bofh.it>
In reply to#1222063

[Multipart message — attachments visible in raw view] — view raw

On Thu, 10 Sep 2015, Vlastimil Babka wrote:

> On 08/31/2015 04:20 PM, Eric B Munson wrote:
> > Update the mlock.2 man page with information on mlock2() and the new
> > mlockall() flag MCL_ONFAULT.
> > 
> > Signed-off-by: Eric B Munson <emunson@akamai.com>
> > Acked-by: Michal Hocko <mhocko@suse.com>
> 
> Looks like I acked v1 too late and not v2, so:
> 
> Acked-by: Vlastimil Babka <vbabka@suse.cz>
> 
> However, looks like it won't be in Linux 4.3 so that part is outdated.
> Also, what about glibc wrapper for mlock2()? Does it have to come before or
> after the manpage and who gets it in?

V3 now has an updated version, hopefully mlock2 hits the 4.4 merge
window.

I don't know about the glibc wrapper, are we expected to write one
ourselves?  Will they even take it?  They haven't been the most open
minded about taking wrappers for system calls that are unique to Linux
in the past.

[toc] | [prev] | [next] | [standalone]


#1222909

FromMichal Hocko <mhocko@kernel.org>
Date2015-09-11 17:20 +0200
Message-ID<q7yhk-5qg-23@gated-at.bofh.it>
In reply to#1222895
On Fri 11-09-15 10:57:12, Eric B Munson wrote:
> On Thu, 10 Sep 2015, Vlastimil Babka wrote:
[...]
> > Also, what about glibc wrapper for mlock2()? Does it have to come before or
> > after the manpage and who gets it in?
> 
> V3 now has an updated version, hopefully mlock2 hits the 4.4 merge
> window.
> 
> I don't know about the glibc wrapper, are we expected to write one
> ourselves?  Will they even take it?  They haven't been the most open
> minded about taking wrappers for system calls that are unique to Linux
> in the past.

I do not think we really do care about the glibc wrapper. There are many
syscalls which do not have it either (e.g. gettid).

But I guess it would be worth noting this in the man page the same way
as gettid does.
-- 
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web