From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank Blaschka Subject: [BUG] net: cpu offline cause napi stall Date: Wed, 1 Jun 2011 12:33:56 +0200 Message-ID: <20110601103356.GA45482@tuxmaker.boeblingen.de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-Archive: List-Post: To: davem@davemloft.net, eric.dumazet@gmail.com Cc: netdev@vger.kernel.org, linux-s390@vger.kernel.org, heiko.carstens@de.ibm.com List-ID: Hi Dave, Eric, during heavy network load we turn off/on cpus. Sometimes this causes a stall on the network device. Digging into the dump I found out following: napi is scheduled but does not run. From the I/O buffers and the napi state I see napi/rx_softirq processing has stopped because the budget was reached. napi stays in the softnet_data poll_list and the rx_softirq was raised again. I assume at this time the cpu offline comes in. the rx softirq is raised/moved to another cpu but napi stays in the poll_list of the softnet_data of the now offline cpu. reviewing dev_cpu_callback (net/core/dev.c) I did not find the poll_list is transfered to the new cpu. Do you think this could cause the stall or did I miss something? Thx for your help. Frank