Re: [PATCH net] rhashtable: avoid large lock-array allocations

From
Florian Westphal <fw@strlen.de>
Date
2016-08-12 02:31:45
Reply to
kbuild test robot, 2016-08-12
kbuild test robot [off-list ref] wrote:
Hi Florian,

[auto build test WARNING on net/master]

url:    https://github.com/0day-ci/linux/commits/Florian-Westphal/rhashtable-avoid-large-lock-array-allocations/20160812-101458
config: x86_64-randconfig-x015-201632 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from lib/rhashtable.c:18:0:
   lib/rhashtable.c: In function 'rhashtable_init':
quoted
quoted
lib/rhashtable.c:34:30: warning: division by zero [-Wdiv-by-zero]
              2 * L1_CACHE_BYTES / sizeof(spinlock_t), 1)
I will send a v2 tomorrow, perhaps its better to just go for
32UL instead of this construct after all.
Thread (4 messages) 4 messages, 3 authors, last reply 2016-08-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help