From: David S. Miller Date: Mon, 7 Oct 2019 13:58:28 +0000 (-0400) Subject: Merge branch 'net-tls-minor-micro-optimizations' X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=578de2f361de06ad81ba6fe0cde92ebf6ec85df7;p=android-x86%2Fkernel.git Merge branch 'net-tls-minor-micro-optimizations' Jakub Kicinski says: ==================== net/tls: minor micro optimizations This set brings a number of minor code changes from my tree which don't have a noticeable impact on performance but seem reasonable nonetheless. First sk_msg_sg copy array is converted to a bitmap, zeroing that structure takes a lot of time, hence we should try to keep it small. Next two conditions are marked as unlikely, GCC seemed to had little trouble correctly reasoning about those. Patch 4 adds parameters to tls_device_decrypted() to avoid walking structures, as all callers already have the relevant pointers. Lastly two boolean members of TLS context structures are converted to a bitfield. ==================== Signed-off-by: David S. Miller --- 578de2f361de06ad81ba6fe0cde92ebf6ec85df7