diff options
author | Jamal Hadi Salim <hadi@cyberus.ca> | 2006-12-05 05:02:37 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-07 03:38:44 +0100 |
commit | baf5d743d1b8783fdbd5c1260ada2926e5bbaaee (patch) | |
tree | 1dba3ae8d7e40a9b4f6ccb886d1cb511396e5381 /mm | |
parent | [XFRM]: Use output device disable_xfrm for forwarded packets (diff) | |
download | linux-baf5d743d1b8783fdbd5c1260ada2926e5bbaaee.tar.xz linux-baf5d743d1b8783fdbd5c1260ada2926e5bbaaee.zip |
[XFRM] Optimize policy dumping
This change optimizes the dumping of Security policies.
1) Before this change ..
speedopolis:~# time ./ip xf pol
real 0m22.274s
user 0m0.000s
sys 0m22.269s
2) Turn off sub-policies
speedopolis:~# ./ip xf pol
real 0m13.496s
user 0m0.000s
sys 0m13.493s
i suppose the above is to be expected
3) With this change ..
speedopolis:~# time ./ip x policy
real 0m7.901s
user 0m0.008s
sys 0m7.896s
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions