From: Denis V. Lunev Date: Tue, 15 Jul 2008 05:28:25 +0000 (-0700) Subject: netlabel: return msg overflow error from netlbl_cipsov4_list faster X-Git-Tag: v2.6.27-rc1~969^2~147 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83aa2e964b9b04effa304aaf3c1090b46812a04b;p=pandora-kernel.git netlabel: return msg overflow error from netlbl_cipsov4_list faster Currently, we are trying to place the information from the kernel to 1, 2, 3 and 4 pages sequentially. These pages are allocated via slab. Though, from the slab point of view steps 3 and 4 are equivalent on most architectures. So, lets skip 3 pages attempt. By the way, should we switch from .doit to .dumpit interface here? The amount of data seems quite big for me. Signed-off-by: Denis V. Lunev Acked-by: Paul Moore Signed-off-by: David S. Miller --- Reading git-diff-tree failed