X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=Documentation%2Fstatic-keys.txt;h=9f5263d3152ccff97605234c8b0fe0417b160c59;hb=cf9a625fae3d0ce8dffab53b2758d7c0cf4a5ad4;hp=d93f3c00f245b7bbd674ee540fca74da753b1233;hpb=a8822e2d570bc265c9fa0347710fbcc7bef8b327;p=firefly-linux-kernel-4.4.55.git diff --git a/Documentation/static-keys.txt b/Documentation/static-keys.txt index d93f3c00f245..9f5263d3152c 100644 --- a/Documentation/static-keys.txt +++ b/Documentation/static-keys.txt @@ -235,7 +235,7 @@ label case adds: 6 (mov) + 2 (test) + 2 (jne) = 10 - 5 (5 byte jump 0) = 5 addition bytes. If we then include the padding bytes, the jump label code saves, 16 total bytes -of instruction memory for this small fucntion. In this case the non-jump label +of instruction memory for this small function. In this case the non-jump label function is 80 bytes long. Thus, we have have saved 20% of the instruction footprint. We can in fact improve this even further, since the 5-byte no-op really can be a 2-byte no-op since we can reach the branch with a 2-byte jmp.