lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081008.141908.230868244.davem@davemloft.net>
Date:	Wed, 08 Oct 2008 14:19:08 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	vladislav.yasevich@...com
Cc:	netdev@...r.kernel.org, linux-sctp@...r.kernel.org
Subject: Re: [PATCH net-next 1/2] sctp: Rework the tsn map to use generic
 bitmap.

From: Vlad Yasevich <vladislav.yasevich@...com>
Date: Wed,  8 Oct 2008 16:27:49 -0400

> The tsn map currently use is 4K large and is stuck inside
> the sctp_association structure making memory references REALLY
> expensive.  What we really need is at most 4K worth of bits
> so the biggest map we would have is 512 bytes.   Also, the
> map is only really usefull when we have gaps to store and
> report.  As such, starting with minimal map of say 32 TSNs (bits)
> should be enough for normal low-loss operations.  We can grow
> the map by some multiple of 32 along with some extra room any
> time we receive the TSN which would put us outside of the map
> boundry.  As we close gaps, we can shift the map to rebase
> it on the latest TSN we've seen.  This saves 4088 bytes per
> association just in the map alone along savings from the now
> unnecessary structure members.
> 
> Signed-off-by: Vlad Yasevich <vladislav.yasevich@...com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ