Re: [PATCH, RESEND] getrusage: fill ru_maxrss value

2008-12-16 Thread Jiri Pirko
On Tue, 16 Dec 2008 16:20:54 +0100 Oleg Nesterov o...@redhat.com wrote: On 12/16, Jiri Pirko wrote: This patch makes -ru_maxrss value in struct rusage filled accordingly to rss hiwater mark. This struct is filled as a parameter to getrusage syscall. -ru_maxrss value is set to pages which

[PATCH, RESEND] getrusage: fill ru_maxrss value

2008-12-16 Thread Jiri Pirko
-by: Jiri Pirko jpi...@redhat.com --- fs/exec.c |1 + include/linux/sched.h |1 + kernel/exit.c |4 kernel/fork.c |1 + kernel/sys.c | 12 5 files changed, 19 insertions(+), 0 deletions(-) diff --git a/fs/exec.c b/fs/exec.c index

Re: [PATCH, RESEND2] getrusage: fill ru_maxrss value

2008-12-17 Thread Jiri Pirko
On Wed, 17 Dec 2008 19:48:44 +0900 (JST) KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com wrote: (updated) This patch makes -ru_maxrss value in struct rusage filled accordingly to rss hiwater mark. This struct is filled as a parameter to getrusage syscall. -ru_maxrss value is set to

[PATCH, RESEND3] getrusage: fill ru_maxrss value

2008-12-18 Thread Jiri Pirko
bprm_mm_init() does not copy -hiwater_rss. Note that we use recently introduced get_mm_hiwater_rss() helper to actually get the rss hiwater value: http://lkml.org/lkml/2008/12/12/172 Signed-off-by: Jiri Pirko jpi...@redhat.com --- fs/exec.c |1 + include/linux/sched.h |1

[PATCH] getrusage: fill ru_ixrss, ru_idrss and ru_isrss values

2009-01-15 Thread Jiri Pirko
-fill-ru_maxrss-value.patch Signed-off-by: Jiri Pirko jpi...@redhat.com --- include/linux/sched.h | 22 +++--- kernel/exit.c |9 + kernel/fork.c |1 + kernel/sys.c | 17 - kernel/tsacct.c | 24

Re: [PATCH] getrusage: fill ru_ixrss, ru_idrss and ru_isrss values

2009-01-15 Thread Jiri Pirko
(). Thanks Jirka Applied after: getrusage-fill-ru_maxrss-value.patch Signed-off-by: Jiri Pirko jpi...@redhat.com --- include/linux/sched.h | 22 +++--- kernel/exit.c |9 + kernel/fork.c |1 + kernel/sys.c | 17 - kernel

Re: [PATCH v2] ipv6: expose RFC4191 route preference via rtnetlink

2015-03-11 Thread Jiri Pirko
Wed, Mar 11, 2015 at 03:39:21PM CET, lkund...@v3.sk wrote: This makes it possible to retain the route preference when RAs are handled in userspace. Signed-off-by: Lubomir Rintel lkund...@v3.sk Reviewed-by: Jiri Pirko j...@resnulli.us -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] ipv6: expose RFC4191 route preference via rtnetlink

2015-03-10 Thread Jiri Pirko
Tue, Mar 10, 2015 at 04:56:53PM CET, lkund...@v3.sk wrote: On Tue, 2015-03-03 at 16:17 +0100, Jiri Pirko wrote: Tue, Mar 03, 2015 at 11:01:52AM CET, lkund...@v3.sk wrote: This makes it possible to retain the route preference when RAs are handled in userspace. Signed-off-by: Lubomir Rintel

Re: [PATCH net-next] tc: bpf: generalize pedit action

2015-03-27 Thread Jiri Pirko
This looks fine to me. Great stuff. Reviewed-by: Jiri Pirko j...@resnulli.us -- To unsubscribe from this list: send the line unsubscribe linux-api in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] ipv6: expose RFC4191 route preference via rtnetlink

2015-03-03 Thread Jiri Pirko
Tue, Mar 03, 2015 at 11:01:52AM CET, lkund...@v3.sk wrote: This makes it possible to retain the route preference when RAs are handled in userspace. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- include/uapi/linux/rtnetlink.h | 1 + net/ipv6/route.c | 16 +++- 2

Re: [PATCH net-next] tc: bpf: add checksum helpers

2015-04-02 Thread Jiri Pirko
Thu, Apr 02, 2015 at 05:00:47PM CEST, dan...@iogearbox.net wrote: On 04/02/2015 02:12 AM, Alexei Starovoitov wrote: Commit 608cd71a9c7c (tc: bpf: generalize pedit action) has added the possibility to mangle packet data to BPF programs in the tc pipeline. This patch adds two helpers

Re: [PATCH net-next] tc: bpf: add checksum helpers

2015-04-02 Thread Jiri Pirko
Thu, Apr 02, 2015 at 06:34:59PM CEST, a...@plumgrid.com wrote: On 4/2/2015 8:21 AM, Daniel Borkmann wrote: On 04/02/2015 05:15 PM, Jiri Pirko wrote: Thu, Apr 02, 2015 at 05:00:47PM CEST, dan...@iogearbox.net wrote: On 04/02/2015 02:12 AM, Alexei Starovoitov wrote: Commit 608cd71a9c7c (tc: bpf