[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1445630588.22974.187.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Fri, 23 Oct 2015 13:03:08 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Helge Deller <deller@....de>
Cc: Tom Herbert <therbert@...gle.com>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
linux-parisc List <linux-parisc@...r.kernel.org>,
James Bottomley <James.Bottomley@...senPartnership.com>,
John David Anglin <dave.anglin@...l.net>
Subject: Re: CONFIG_XPS depends on L1_CACHE_BYTES being greater than
sizeof(struct xps_map)
On Fri, 2015-10-23 at 21:25 +0200, Helge Deller wrote:
> Then, how about simply changing it to twice of L1_CACHE_BYTES ?
>
> #define XPS_MIN_MAP_ALLOC ((L1_CACHE_BYTES * 2 - sizeof(struct xps_map)) / sizeof(u16))
Seems good to me.
--
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