From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Question about memory in C
Date: Wed, 10 Feb 2016 15:19:38 -0800 [thread overview]
Message-ID: <20160210231938.GA22076@kroah.com> (raw)
In-Reply-To: <CANpwN=v=MB=RSpQiNaOsJ8iAX2KLETF98otLM1FAnwJGY+JHow@mail.gmail.com>
On Wed, Feb 10, 2016 at 08:49:30PM -0200, Victor Detoni wrote:
> Hi,
>
> Thank you for your tip! I really appreciate it. In my situation I will have
> many profiles and for each profile I can have many ip address, for example:
>
> profile 1:
> 192.168.0.0/24
> 192.168.1.2/32
> 192.168.14/23
> ...
>
> profile 2:
> 10.10.10.0/24
> 10.11.12.0/23
> ...
>
> What's your opinion? I'm thinking to use pcap library, but I still haven't the
> key.
I think you have a long way to go before you need to worry about stuff
like this. Why not test and see exactly _where_ the performance
problems are before trying to solve things you don't know are actually
problems yet.
good luck,
greg k-h
prev parent reply other threads:[~2016-02-10 23:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-10 13:40 Question about memory in C Victor Detoni
2016-02-10 13:54 ` Skm Prabhu
2016-02-10 21:25 ` Cihangir Akturk
2016-02-10 22:49 ` Victor Detoni
2016-02-10 23:19 ` Greg KH [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=20160210231938.GA22076@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.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).