summaryrefslogtreecommitdiffstats
path: root/crypto/sha1.c
diff options
context:
space:
mode:
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>2005-05-01 08:58:56 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 08:58:56 -0700
commitffa0aea681a5f3c8aecbb86f1cfd3486043805de (patch)
treef807d29b2535a41c873c8ea7c72c5a21a2ca4694 /crypto/sha1.c
parentb97b77cca627b2e3e6d0015e2e14b1d1c12de0c8 (diff)
downloadlinux-ffa0aea681a5f3c8aecbb86f1cfd3486043805de.tar.gz
linux-ffa0aea681a5f3c8aecbb86f1cfd3486043805de.tar.bz2
linux-ffa0aea681a5f3c8aecbb86f1cfd3486043805de.zip
[PATCH] uml - hostfs: avoid buffers
Use this: .set_page_dirty = __set_page_dirty_nobuffers, We already dropped the inclusion of <linux/buffer_head.h>, and we don't have a backing block device for this FS. "Without having looked at it, I'm sure that hostfs does not use buffer_heads. So setting your ->set_page_dirty a_op to point at __set_page_dirty_nobuffers() is a reasonable thing to do - it'll provide a slight speedup." This speedup is one less spinlock held and one less conditional branch, which isn't bad. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'crypto/sha1.c')
0 files changed, 0 insertions, 0 deletions