[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150823.165103.2104601245219561984.davem@davemloft.net>
Date: Sun, 23 Aug 2015 16:51:03 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jbenc@...hat.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] route: fix breakage after moving lwtunnel
state
From: Jiri Benc <jbenc@...hat.com>
Date: Fri, 21 Aug 2015 12:41:14 +0200
> @@ -99,6 +99,9 @@ struct dst_entry {
> atomic_t __refcnt; /* client references */
> int __use;
> unsigned long lastuse;
> +#ifndef CONFIG_64BIT
> + struct lwtunnel_state *lwtstate;
> +#endif
> union {
> struct dst_entry *next;
> struct rtable __rcu *rt_next;
I'm going to apply this to fix the build error without reverting your
change entirely, but this is really an undesirable solution.
This cache line of the SKB is for write heavy members of struct
dst_entry and so if you put a read-mostly member here it's going to
result in performance problems.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists