From e7cd194a2645154df02ba16fd9f5b4616f5de551 Mon Sep 17 00:00:00 2001 From: Eric Dumazet Date: Tue, 6 Sep 2005 15:18:16 -0700 Subject: [PATCH] --- yaml --- r: 7427 b: refs/heads/master c: 3f4bb1f4199b7dc0c958447b1e4898980013b884 h: refs/heads/master i: 7425: 2237959402186f3823bc2b1631a923b137832de8 7423: 6decc40e63e8bfa2fb56ef482817081a20f0a970 v: v3 --- [refs] | 2 +- trunk/include/linux/dcache.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 106c782e6de3..8809082743f0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0811bab24ff1eecab38110eda7ea7847db95c64e +refs/heads/master: 3f4bb1f4199b7dc0c958447b1e4898980013b884 diff --git a/trunk/include/linux/dcache.h b/trunk/include/linux/dcache.h index 50be290d24d2..ab04b4f9b0db 100644 --- a/trunk/include/linux/dcache.h +++ b/trunk/include/linux/dcache.h @@ -88,8 +88,9 @@ struct dentry { * negative */ /* * The next three fields are touched by __d_lookup. Place them here - * so they all fit in a 16-byte range, with 16-byte alignment. + * so they all fit in a cache line. */ + struct hlist_node d_hash; /* lookup hash list */ struct dentry *d_parent; /* parent directory */ struct qstr d_name; @@ -103,7 +104,6 @@ struct dentry { void *d_fsdata; /* fs-specific data */ struct rcu_head d_rcu; struct dcookie_struct *d_cookie; /* cookie, if any */ - struct hlist_node d_hash; /* lookup hash list */ int d_mounted; unsigned char d_iname[DNAME_INLINE_LEN_MIN]; /* small names */ };