From: David Miller <davem@davemloft.net>
To: hannes@stressinduktion.org
Cc: netdev@vger.kernel.org, greearb@candelatech.com, kaber@trash.net,
yoshfuji@linux-ipv6.org
Subject: Re: [PATCH net-next 1/2] ipv6: avoid high order memory allocations for /proc/net/ipv6_route
Date: Fri, 27 Sep 2013 17:33:02 -0400 (EDT) [thread overview]
Message-ID: <20130927.173302.304054571363734165.davem@davemloft.net> (raw)
In-Reply-To: <20130921145559.GA20730@order.stressinduktion.org>
From: Hannes Frederic Sowa <hannes@stressinduktion.org>
Date: Sat, 21 Sep 2013 16:55:59 +0200
> Dumping routes on a system with lots rt6_infos in the fibs causes up to
> 11-order allocations in seq_file (which fail). While we could switch
> there to vmalloc we could just implement the streaming interface for
> /proc/net/ipv6_route. This patch switches /proc/net/ipv6_route from
> single_open_net to seq_open_net.
>
> loff_t *pos tracks dst entries.
>
> Also kill never used struct rt6_proc_arg and now unused function
> fib6_clean_all_ro.
>
> Cc: Ben Greear <greearb@candelatech.com>
> Cc: Patrick McHardy <kaber@trash.net>
> Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Applied, nice work.
prev parent reply other threads:[~2013-09-27 21:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-21 14:55 [PATCH net-next 1/2] ipv6: avoid high order memory allocations for /proc/net/ipv6_route Hannes Frederic Sowa
2013-09-27 21:33 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130927.173302.304054571363734165.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=greearb@candelatech.com \
--cc=hannes@stressinduktion.org \
--cc=kaber@trash.net \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).